Skip to content

Implement --skipLibCheck flag in tsbuild#45698

Closed
MarcCelani-at wants to merge 0 commit intomicrosoft:mainfrom
MarcCelani-at:main
Closed

Implement --skipLibCheck flag in tsbuild#45698
MarcCelani-at wants to merge 0 commit intomicrosoft:mainfrom
MarcCelani-at:main

Conversation

@MarcCelani-at
Copy link
Copy Markdown

Summary:
Many large composite projects rely on skipLibCheck to improve build times.
However, skipLibCheck does introduce some risk that projects miss typescript errors
in new node module versions they install.

This is in response to Issues #45691, #25613, and #41185

This issue is not tagged with Backlog, but I'd request that it be considered anyway. Reason being: is an issue with many duplicates and a long history of discussion. I don't believe that this change should be controversial.

[ ] There is an associated issue in the Backlog milestone (required)
[x] Code is up-to-date with the main branch
[x] You've successfully run gulp runtests locally
[x] There are new or updated unit tests validating the change

Test Plan:
New tsbuild unit test scenario that tests overriding the skipLibCheck value with a command line argument.
Validated with verbose output that the actual build overrode the value in the tsconfig.json file.

Fixes #25613 (partially), #45691, and #41185

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Sep 2, 2021
@typescript-bot
Copy link
Copy Markdown
Collaborator

The TypeScript team hasn't accepted the linked issue #25613. If you can get it accepted, this PR will have a better chance of being reviewed.

@MarcCelani-at
Copy link
Copy Markdown
Author

Is there any interest in this PR? I'm happy to resolve conflicts if so.

@sandersn
Copy link
Copy Markdown
Member

sandersn commented Nov 8, 2021

The hard part of this issue is figuring out the semantics. I'd rather wait on this PR until we've decided on that in the issue discussion. Probably closing it makes the most sense since it's not much code and may well code-rot in the meantime.

@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Allow regular flags to mix with --build

3 participants