vue-syntax-highlight
vue-syntax-highlight copied to clipboard
Syntax highlighting is broken when there is no semicolon after a type declaration
trafficstars
We don't use semicolons in my project, so this is really annoying. It breaks everything after it.
<script lang="ts">
type T = any
</script>
(opened here since vuejs/language-tools#986 was closed without an actual fix)
Also seemed to be fixed in https://github.com/microsoft/TypeScript-TmLanguage/commit/d1a9c200322c3dc3fb8a9d0e0912b478cdf973ff.
This is no longer an issue in versions shipped for ST4153+.