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

ExpressJwtSecret is not a function in Typescript Project #21

Closed
dagmawim opened this issue Sep 4, 2017 · 2 comments
Closed

ExpressJwtSecret is not a function in Typescript Project #21

dagmawim opened this issue Sep 4, 2017 · 2 comments

Comments

@dagmawim
Copy link

dagmawim commented Sep 4, 2017

It seems as tho in the index.d.ts file then constructor "expressJwtSecret" has been capitalized to "ExpressJwtSecret" which will compile fine but the underlying js call will not generate anything since the js resources do not have any variable named ExpressJwtSecret. Fix would be to rename the variable in the declaration file.

@mccool
Copy link

mccool commented Oct 13, 2017

Until the pull request is merged you can get around it with (jwksRsa as any).expressJwtSecret

@sandrinodimattia
Copy link
Member

This was released as 1.2.1 from #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants