fix(linter): fix regression when parsing ts in vue files (#6336)

This commit is contained in:
Boshen 2024-10-07 14:28:44 +00:00
parent f243cf23c6
commit 9e9808b429
2 changed files with 3 additions and 2 deletions

View file

@ -7,5 +7,6 @@
</script>
<script setup lang="ts" generic="T extends Record<string, string>">
debugger
let foo: T; // test ts syntax
debugger;
</script>

View file

@ -277,7 +277,7 @@ impl Runtime {
path,
&allocator,
source.source_text,
source_type,
source.source_type,
true,
tx_error,
);