Skip to content

docs: note skipLibCheck#14932

Merged
patak-cat merged 1 commit intomainfrom
note-skiplibcheck
Nov 10, 2023
Merged

docs: note skipLibCheck#14932
patak-cat merged 1 commit intomainfrom
note-skiplibcheck

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
- [`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-cat patak-cat merged commit 2f39547 into main Nov 10, 2023
@patak-cat patak-cat 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