-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mandatory String type is hard to manage with typescript #16
Comments
Check my module for this... @neilime
|
@kalicki How do I use that code? |
@manishoo put the above module declaration in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have an issue with your plugin, used with typescript.
Typing a property as String is mandatory and your plugin throws an exception if not.
However, your plugin transform the property that is not a string, but an object like :
The typescript definition should be something like that :
Can you provide these interface and allows it as property type, it may be helps us to fix this related issue : szokodiakos/typegoose#85
Thanks
The text was updated successfully, but these errors were encountered: