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

Enable skipLibCheck by default #5872

Merged
merged 1 commit into from
Jan 17, 2023
Merged

Enable skipLibCheck by default #5872

merged 1 commit into from
Jan 17, 2023

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented Jan 16, 2023

Changes

Fix #5061

Disable typechecking libraries and .d.ts files. This change was also debatable in Vite before, but the tradeoff (of not typechecking local .d.ts files) was worth it as it's otherwise surfacing type errors unintentionally from a library. (More context: vitejs/vite#7867)

Testing

n/a

Docs

n/a

@changeset-bot
Copy link

changeset-bot bot commented Jan 16, 2023

🦋 Changeset detected

Latest commit: f5e7018

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Jan 16, 2023
Copy link
Member

@Princesseuh Princesseuh left a comment

Choose a reason for hiding this comment

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

It's unfortunate that it's needed, but everyone does it for a reason. LGTM!

@bluwy bluwy merged commit b66d719 into main Jan 17, 2023
@bluwy bluwy deleted the skip-lib-check branch January 17, 2023 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot find namespace 'JSX'
2 participants