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

TypeScript: Revert a few @ts-expect-errors #19168

Merged
merged 1 commit into from
Sep 11, 2022
Merged

Conversation

shilman
Copy link
Member

@shilman shilman commented Sep 11, 2022

Issue: N/A

What I did

Reverts a few lines from #19122

The analysis done by yarn bootstrap --core and yarn bootstrap --prep is subtly different, meaning that a few "expect-errors" are not actually errors in bootstrap --prep. As I understand it, yarn bootstrap --core stops analysis at package boundaries, whereas bootstrap --prep actually analyzes across packages (kind of like inlining one package in another), so the results are slightly different.

This PR is a workaround to get things moving, since the nightly repro template generation job is currently failing based on these errors. The real fix is to dive into the specific errors and fix them.

Self-merging @IanVS @ndelangen

How to test

Before & after this change:

yarn build --prep

@shilman shilman added maintenance User-facing maintenance tasks typescript labels Sep 11, 2022
@shilman shilman changed the title TS: Revert a few @ts-expect-errors TypeScript: Revert a few @ts-expect-errors Sep 11, 2022
@shilman shilman merged commit b972398 into next Sep 11, 2022
@shilman shilman deleted the shilman/fix-ts-expect-errors branch September 11, 2022 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant