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

Could not find a declaration file for module 'stockx-api' #20

Open
pesa2000 opened this issue Sep 2, 2020 · 1 comment
Open

Could not find a declaration file for module 'stockx-api' #20

pesa2000 opened this issue Sep 2, 2020 · 1 comment

Comments

@pesa2000
Copy link

pesa2000 commented Sep 2, 2020

Using VsCode it gives me this warning:

Could not find a declaration file for module 'stockx-api'. 'mydir/node_modules/stockx-api/index.js' implicitly has an 'any' type.
Try npm install @types/stockx-api if it exists or add a new declaration (.d.ts) file containing declare module 'stockx-api';

If i try the "npm install @types/stockx-api it doesnt find anything and if i declare the " stockx-api.d.ts" with the "declare module stockx-api" it returns the same error.

Any suggestions?

@matthew1232
Copy link
Owner

Sorry mate, I'm not good with typescript so I'm not sure why this is happening. I would recommend switching to NodeJS as that is the native code.

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

2 participants