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
If a package has it's structure defined using package.json exports all non-type exports are considered any by tsd but are typed properly in TypeScript.
The text was updated successfully, but these errors were encountered:
I ended up creating this repo: https://github.com/micnic/tsd-exports-test
You just need to run npm i to install the dependencies, then run npm run check, the tsc ends ok, the tsd will fail to run.
My initial test with failing just for non-type was running inside a node_modules folder, and got 2 problems, if you run it outside of node_modules it will fail to find the package.
If a package has it's structure defined using package.json exports all non-type exports are considered
any
bytsd
but are typed properly in TypeScript.The text was updated successfully, but these errors were encountered: