Closed shrihari-prakash closed 1 year ago
Hello @jankapunkt , @HappyZombies , I added types for this package from DefinitelyTyped. Could you please review and merge this if you feel it's okay? https://github.com/node-oauth/express-oauth-server/pull/11
published in 3.0.1
For the express-oauth-server counterpart from oauthjs, there are types specified in DefinitelyTyped: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/express-oauth-server/index.d.ts
However for this project, there is nothing of that sort. It would be good to include the typings file from DefinitelyTypes and point to it in package.json. Right now, when I import the package on TypeScript projects, it would complain that there is no types associated: