Syntax highlighting breaks when typeof
is followed by !==
in v-if
#5370
Labels
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
upstream: typescript
Vue - Official extension or vue-tsc version
Unknown, Reproduced in playground
VSCode version
N/A, Reproduced in playground
Vue version
3.5.14
TypeScript version
5.8.3
System Info
N/A
package.json dependencies
N/A
Steps to reproduce
.vue
fileWhat is expected?
File to be correctly highlighted
What is actually happening?
Link to minimal reproduction
https://play.vuejs.org/#eNqNUtFqwjAU/ZXsvvhiM4YKQ9bBNnzYHrYxx54Co9ZrjaZJSG67ivjvSyp2DkR8KPSec27OySFbeLCW1xXCGO4IS6sywnuhGesmVidykQqgjUWzYD1PTuqix9I07QYB7U7YukoSNt1oyhq2lMVShY+CgknPcuMc5sSSZG9wfeR3keNVdNRVOUN3mWONbsNmzqxRn3T9N0AfyOdGL2TBV97o0Mg2bgjITWmlQvdmSRrtBYxZy0QuU8r8vLQYuQr7BzxfYr4+ga98EzEB7w49uhoFdBxlrkDa05PpKzbhvyNLM69UUJ8hP9AbVcWMe9ljpech9pGuTftcWuNiRZ9+0hBqf7hUDBqVu1YvIDyLpzNX/4s74MN2T+hdaPE71B7PDAUO+IjfDCNG/qtDR/yWD2D3CyZNzds=
Any additional comments?
After creating the issue I've noticed that syntax highlighting is also broken in github. Funny.
The text was updated successfully, but these errors were encountered: