Skip to content
Discussion options

You must be logged in to vote

I see. The generation of the declaration file is really workaround for the time being, I hope to get rid of it at some point when microsoft/TypeScript#32063 becomes a thing. Therefore I'd like to not introduce more public API than absolutely necessary for now.

As a side note, for ESLint this shouldn't make a difference, the declaration file is only relevant to tsc which runs as part of next build by default. Also, it merely introduces stricter types than what you have out-of-the-box, so your lint should pass in any case. But if you check types during next build, you can get stricter validation.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@stefanprobst
Comment options

@amannn
Comment options

Answer selected by stefanprobst
@amannn
Comment options

Comment options

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