vue-syntax-highlight icon indicating copy to clipboard operation
vue-syntax-highlight copied to clipboard

Syntax highlighting is broken when there is no semicolon after a type declaration

Open lunaisnotaboy opened this issue 2 years ago • 3 comments
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>

lunaisnotaboy avatar Aug 21 '23 12:08 lunaisnotaboy

(opened here since vuejs/language-tools#986 was closed without an actual fix)

lunaisnotaboy avatar Aug 21 '23 12:08 lunaisnotaboy

Also seemed to be fixed in https://github.com/microsoft/TypeScript-TmLanguage/commit/d1a9c200322c3dc3fb8a9d0e0912b478cdf973ff.

lunaisnotaboy avatar Aug 21 '23 12:08 lunaisnotaboy

This is no longer an issue in versions shipped for ST4153+.

grafik

deathaxe avatar Sep 14 '24 10:09 deathaxe