Skip to content

Matching @types/node-oauth2-server #44

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

Closed
tranzium opened this issue Oct 14, 2021 · 3 comments
Closed

Matching @types/node-oauth2-server #44

tranzium opened this issue Oct 14, 2021 · 3 comments
Labels
typescript 🔢 TypeScript related

Comments

@tranzium
Copy link

In the event that @node-oauth/node-oauth2-server does not match @types/oauth2-server

@tranzium
Copy link
Author

Realized this is potentially resolved by #6

Workaround: I have manually included the types file (shh) and had to ignore the http include at the top to avoid this error:

error TS2307: Cannot find module 'http' or its corresponding type declarations.

@HappyZombies
Copy link
Member

Are you on the development branch? Because we are now using the http module, and as such, you will need to run

npm install @types/node --save

@HappyZombies HappyZombies added the typescript 🔢 TypeScript related label Oct 14, 2021
@jorenvandeweyer
Copy link
Member

#6 resolved this issue

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

No branches or pull requests

3 participants