-
Notifications
You must be signed in to change notification settings - Fork 10
Added type declarations #11
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Out of curiosity, why does this PR use I ask because I think there is a typing issue with the node-oauth2-server package now. I have to install |
@cancan101 There is no difference in these properties, if anything typescript prefers we use "types" Documentation: https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html Not sure if this issue is causing your problems? Does using v3.0.0 instead of v3.0.1 cause the same problem? v3.0.1 has the new types definition. |
@cancan101 I didn't know this might cause trouble, I thought they were synonymous (as described in the link). Where do you actually get In your case you might simply remove the both |
If I remove this dependency:
and I am using the following dependancies (I have tried
|
Ok, silly me. I fixed that import to be:
|
@jankapunkt @HappyZombies , in any case, should we change the property to |
@shrihari-prakash yes, I will do that when I wrap up #11 |
Added types to the package as per #10