Skip to content

glint binary (which is basically tsc) does not implement support for glint-expect-error directives #898

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

Open
machty opened this issue Apr 21, 2025 · 1 comment

Comments

@machty
Copy link
Contributor

machty commented Apr 21, 2025

From @johanrd from Discord

I see that VS code correctly ignores any line following@glint-expect-error, but the output of pnpm glintdoes not ignore them. Expected?

I checked with Vue/Volar team, apparently this is a known issue. I will need to take another pass at glint-expect-error to implement its filtering logic more within the VirtualCode implementation (which runs in all contexts including runTsc) as opposed to only in TS Plugin.

@mkszepp
Copy link

mkszepp commented May 6, 2025

i was also running into this issue by using {{! @glint-ignore }}.

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

2 participants