Skip to content

fix (svelte-check): --tsgo-experimental-api option is not honored#3067

Merged
jasonlyu123 merged 2 commits into
sveltejs:masterfrom
dimfeld:fix-tsgo-experimental-parse
Jun 24, 2026
Merged

fix (svelte-check): --tsgo-experimental-api option is not honored#3067
jasonlyu123 merged 2 commits into
sveltejs:masterfrom
dimfeld:fix-tsgo-experimental-parse

Conversation

@dimfeld

@dimfeld dimfeld commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

The option is --tsgo-experimental-api but when using it, the code was looking at opts['tsgo-experimental'] so it wasn't possible to actually enable the new flag in the published 4.7.0.

Manually verified the fix by building svelte-check and running it against my projects.

Fixes #3068

@changeset-bot

changeset-bot Bot commented Jun 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: bbafe0b

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

This PR includes changesets to release 1 package
Name Type
svelte-check Patch

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

@dimfeld dimfeld force-pushed the fix-tsgo-experimental-parse branch from b1b98ef to 494cf63 Compare June 23, 2026 19:56
@dimfeld dimfeld changed the title svelte-check: Fix --tsgo-experimental-api option is not honored fix (svelte-check): --tsgo-experimental-api option is not honored Jun 23, 2026

@jasonlyu123 jasonlyu123 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks. I renamed the flag and missed an important one😅.

@jasonlyu123 jasonlyu123 merged commit 4e52661 into sveltejs:master Jun 24, 2026
3 checks passed
@github-actions github-actions Bot mentioned this pull request Jun 24, 2026
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.

--tsgo-experimental-api does not actually enable the new mode

2 participants