Skip to content

Heuristics for generating and specifying .d.ts files in package.json #810

Closed Answered by grenierdev
grenierdev asked this question in Q&A
Discussion options

You must be logged in to vote

Seems like it all boils down to "slow types" being ignored.

Due to their nature of affecting if JSR can understand the code, you can not selectively ignore individual diagnostics for slow types. Slow type diagnostics can only be ignored for the entire package. Doing this results in incomplete documentation and type declarations for the package, and slower type checking for consumers of the package.

- Ignoring slow types

I fixed my slow types in @baseless/react and published it again and the d.ts were there.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by grenierdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant