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

fix(tsc-compliance): Turn skiplibcheck flag on for tsc complaince skiplibcheck test #14257

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

joon-won
Copy link
Member

Description of changes

  • turns skipLibCheck flag in tsc-compliance test on

Issue #, if available

Description of how you validated changes

Checklist

  • PR description included
  • yarn test passes
  • Unit Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

Checklist for repo maintainers

  • Verify E2E tests for existing workflows are working as expected or add E2E tests for newly added workflows
  • New source file paths included in this PR have been added to CODEOWNERS, if appropriate

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@joon-won joon-won marked this pull request as ready for review February 28, 2025 22:20
@joon-won joon-won requested a review from a team as a code owner February 28, 2025 22:20
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.ts4_2.json",
"compilerOptions": {
"skipLibCheck": false
"skipLibCheck": true
Copy link
Member

Choose a reason for hiding this comment

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

Does setting skipLibCheckto true impact type checking of our types?

Copy link
Member Author

@joon-won joon-won Feb 28, 2025

Choose a reason for hiding this comment

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

I don't think it will. Currently in our tsc-compliance test, we have 2 tests named tsc-compliance:ts4.2 and tsc-compliance:skipLibCheck and the both are always running. Even after turning this flag on in skipLibCheck test, ts4.2 will still be type-checking all the declaration files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants