Skip to content

Commit 8e8aa96

Browse files
authored
Add support for defineOptions and defineSlots (#193)
1 parent fafbc7d commit 8e8aa96

29 files changed

+3146
-0
lines changed

Diff for: src/script-setup/scope-analyzer.ts

+3
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ const COMPILER_MACROS_AT_ROOT = new Set([
8282
"defineEmits",
8383
"defineExpose",
8484
"withDefaults",
85+
// Added in vue 3.3
86+
"defineOptions",
87+
"defineSlots",
8588
])
8689

8790
/**

0 commit comments

Comments
 (0)