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

Inconsistent behavior between @shikijs/twoslash and @shikijs/vitepress-twoslash #694

Open
3 of 5 tasks
KermanX opened this issue Jun 4, 2024 · 0 comments
Open
3 of 5 tasks

Comments

@KermanX
Copy link
Contributor

KermanX commented Jun 4, 2024

Validations

Describe the bug

@shikijs/vitepress-twoslash and @shikijs/twoslash behave differently, when working with @types/vscode

Using @shikijs/vitepress-twoslash

Using @shikijs/twoslash, without VitePress

Notes

  • Both the two projects have no tsconfig.json or other special configs
  • The @types/vscode package may have something special, but the main concern is why the two packages behave differently.

Reproduction

See the report content

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests
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

No branches or pull requests

1 participant