Repository navigation
Could not find a declaration file for module #1906
blessanm86
started this conversation in
General
Replies: 3 comments
|
The easiest fix is to enable the https://typestrong.org/ts-node/docs/options#files Add to tsconfig: "ts-node": {"files": true}, |
0 replies
|
Sorry forgot to mention. I actually did try that option. Still didn't work. This should include all |
0 replies
|
Ended up adding this |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Search Terms
Could not find a declaration file for module 'json-to-pretty-yaml'I am trying to upgrade from v9.1.1 to v10.9.1
I keep getting the above error but my I have a
.d.tsfile in the directory for this module. It worked totally fine with the older version.I tried many things like adding types, typeRoots and paths in the tsconfig. Nothing seems to have any affect.
The code works fine if I run tsc.
This is my tsconfig
Specifications
All reactions