mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
fix(linter): fix regression when parsing ts in vue files (#6336)
This commit is contained in:
parent
f243cf23c6
commit
9e9808b429
2 changed files with 3 additions and 2 deletions
|
|
@ -7,5 +7,6 @@
|
|||
</script>
|
||||
|
||||
<script setup lang="ts" generic="T extends Record<string, string>">
|
||||
debugger
|
||||
let foo: T; // test ts syntax
|
||||
debugger;
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -277,7 +277,7 @@ impl Runtime {
|
|||
path,
|
||||
&allocator,
|
||||
source.source_text,
|
||||
source_type,
|
||||
source.source_type,
|
||||
true,
|
||||
tx_error,
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue