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

Adds ts-nocheck to the PnP file #6183

Merged
merged 3 commits into from Mar 27, 2024
Merged

Adds ts-nocheck to the PnP file #6183

merged 3 commits into from Mar 27, 2024

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Mar 26, 2024

What's the problem this PR addresses?

The PnP file is fairly large; it seems that parsing it is difficult for TypeScript on projects configured with checkJs, even if it doesn't contain // @ts-check. Adding // @ts-nocheck to the file seemed to improve the situation.

How did you fix it?

Adds // @ts-nocheck to the generated .pnp.cjs file.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@merceyz
Copy link
Member

merceyz commented Mar 26, 2024

Should we do the same with the ESM loader while we're at it?

@arcanis arcanis merged commit c9d5a4c into master Mar 27, 2024
20 of 24 checks passed
@arcanis arcanis deleted the mael/ts-nochecl branch March 27, 2024 09:51
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.

None yet

2 participants