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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: note skipLibCheck #14932

Merged
merged 1 commit into from Nov 10, 2023
Merged

docs: note skipLibCheck #14932

merged 1 commit into from Nov 10, 2023

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented Nov 10, 2023

Description

close #7867

Figured it was easier to document in a single place than in all the tsconfig.json, it's been quite some time since we set skipLibCheck: true and it worked fine imo 馃槄


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

@bluwy bluwy added the documentation Improvements or additions to documentation label Nov 10, 2023
@@ -111,7 +111,9 @@ As such, it is recommended to set `target` to `ESNext` or `ES2022` or newer, or
- [`experimentalDecorators`](https://www.typescriptlang.org/tsconfig#experimentalDecorators)
- [`alwaysStrict`](https://www.typescriptlang.org/tsconfig#alwaysStrict)

If migrating your codebase to `"isolatedModules": true` is an insurmountable effort, you may be able to get around it with a third-party plugin such as [rollup-plugin-friendly-type-imports](https://www.npmjs.com/package/rollup-plugin-friendly-type-imports). However, this approach is not officially supported by Vite.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed this as there's type imports and verbatimModuleSyntax to solve this today.

@patak-dev patak-dev merged commit 2f39547 into main Nov 10, 2023
10 checks passed
@patak-dev patak-dev deleted the note-skiplibcheck branch November 10, 2023 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide explaintation of skipLibCheck: true default in tsconfig.json of starter templates
3 participants