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 can't seem to get self-referencing to work with tsd. Here's the basics of my setup.
// my-test.test-d.tsimport{expectType}from"tsd";import{foo}from"my-package";// <-- tsd cannot resolve either of these imports,import{bar}from"my-package/bar";// <-- but typescript itself can.// ...
// tsconfig.json{"compilerOptions": {"strict": true,"customConditions": ["development"]// If tsd is to run on the compiled .d.ts files, then tsd probably need to be configure NOT to use this (all other tools do need it)}}
The text was updated successfully, but these errors were encountered:
I can't seem to get self-referencing to work with tsd. Here's the basics of my setup.
The text was updated successfully, but these errors were encountered: