Skip to content
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

Add missing async methods to Typescript type definitions #163

Merged
merged 1 commit into from
Aug 26, 2020

Conversation

mwgamble
Copy link
Contributor

Description

New "async" methods that return promises were added by #161, but the PR did not include an update to the matching Typescript type definitions. Without this update, these new methods are unusable in Typescript projects.

References

See PR #161 that was merged and included in today's release (v1.9.0).

Testing

There is a "ts type definitions" test file:

https://github.com/auth0/node-jwks-rsa/blob/master/tests/ts-definitions.tests.ts

But I'm not really sure what it's testing or how it's supposed to work.

These methods were added by auth0#161, but the PR did not include an update
to the matching Typescript type definitions. Without this update, these
new methods are unusable in Typescript projects.
Copy link
Contributor

@jimmyjames jimmyjames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution and the fix!

@jimmyjames jimmyjames merged commit ae96971 into auth0:master Aug 26, 2020
@davidpatrick davidpatrick added this to the v1-Next milestone Sep 22, 2020
@davidpatrick davidpatrick mentioned this pull request Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants