Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide explaintation of skipLibCheck: true default in tsconfig.json of starter templates #7867

Closed
4 tasks done
antfu opened this issue Apr 22, 2022 · 0 comments · Fixed by #14932
Closed
4 tasks done
Labels
contribution welcome documentation Improvements or additions to documentation

Comments

@antfu
Copy link
Member

antfu commented Apr 22, 2022

Clear and concise description of the problem

Introduced by #7726

However, in some cases, this is more like a workaround but not a really good practice as a solution.

Suggested solution

Maybe we could provide some explanation of skipLibCheck: true in tsconfig.json of the starter templates. To let users understand the tradeoff we made of this decision and change it if needed.

@sodatea already made a good summary of the tradeoffs made in various projects vuejs/vue-cli#5688 . If we want to have a better explanation, maybe we could sort them out as an article or blog post that we could link to in the tsconfig.json

/cc @Shinigami92

Alternative

No response

Additional context

No response

Validations

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
contribution welcome documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants