You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure how to configure my node app to support TypeScript when using this package. The compiler complain:
error TS7016: Could not find a declaration file for module 'threads'. 'node_modules/threads/index.mjs' implicitly has an 'any' type.
Try npm i --save-dev @types/threads if it exists or add a new declaration (.d.ts) file containing declare module 'threads';,
I have tried both of those things, neither work. I am using npx nodemon src/index.ts to run my app and the threads.d.ts file is in the same folder as its usage.
What can I do?
The text was updated successfully, but these errors were encountered:
I am not sure how to configure my node app to support TypeScript when using this package. The compiler complain:
I have tried both of those things, neither work. I am using
npx nodemon src/index.ts
to run my app and thethreads.d.ts
file is in the same folder as its usage.What can I do?
The text was updated successfully, but these errors were encountered: