Skip to content

fix: use bundler module resolution for twoslash#1890

Merged
Rich-Harris merged 1 commit intomainfrom
fix/twoslash-module-resolution
Mar 22, 2026
Merged

fix: use bundler module resolution for twoslash#1890
Rich-Harris merged 1 commit intomainfrom
fix/twoslash-module-resolution

Conversation

@jycouet
Copy link
Copy Markdown
Contributor

@jycouet jycouet commented Mar 22, 2026

Follow-up to #1882.

moduleResolution: "node10" (the default) doesn't resolve .d.mts files or exports in package.json, so sv and @sveltejs/sv-utils types were all any in twoslash hovers.

@Rich-Harris Rich-Harris merged commit d614908 into main Mar 22, 2026
3 checks passed
@Rich-Harris Rich-Harris deleted the fix/twoslash-module-resolution branch March 22, 2026 19:42
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.

2 participants