Add TypeScript Support to cognito-express
See original GitHub issuesrc/middleware/index.ts:1:28 - error TS7016: Could not find a declaration file for module 'cognito-express'. '/Users/naishe/app/node_modules/cognito-express/lib/index.js' implicitly has an 'any' type.
Try `npm install @types/cognito-express` if it exists or add a new declaration (.d.ts) file containing `declare module 'cognito-express';`
Please add support for TypeScript.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:20
- Comments:12 (1 by maintainers)
Top Results From Across the Web
Express with AWS Cognito Auth w/ Typescript (2020)
Login to your aws account and open the Cognito service and create a new user pool following the steps below: Enter a Pool...
Read more >cognito-express - npm
cognito -express authenticates API requests on a Node-Express application by verifying the signature of AccessToken or IDToken generated by ...
Read more >Node.js and TypeScript Tutorial: Secure an Express API - Auth0
Learn how to use TypeScript and Auth0 to secure a feature-complete Express.js API. Tutorial on how to use Auth0 to implement authorization in...
Read more >How to Create Authentication APIs with AWS Cognito
And store “App client id” and “User pool Id” information, we will use it later. Create a simple web service with Express and...
Read more >The Complete Guide to building an API with TypeScript and ...
To do that we need to install the aws-sdk and then import it. First run npm install --save aws-sdk and then add this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s not a TypeScript project. Why should it be? Can you give one reason why type hinting would enhance this project in any way? Making your catch-all error messages go away is not a reason.
Would love to see types added. Might be beneficial to re-open this ticket