Closed alengYuan closed 1 year ago
I use ink (4.3.1) in VSCode (1.81.1), and TS says that Cannot find module 'ink' or its corresponding type declarations.ts(2307).
Cannot find module 'ink' or its corresponding type declarations.ts(2307)
Please add field types in package.json of ink, just like this:
types
package.json
{ "name": "ink", ... "types": "build/", ... }
It would fix the issue.
Duplicate of #552
I use ink (4.3.1) in VSCode (1.81.1), and TS says that
Cannot find module 'ink' or its corresponding type declarations.ts(2307)
.Please add field
types
inpackage.json
of ink, just like this:It would fix the issue.