File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ const DEFINE_EMITS = 'defineEmits'
68
68
const DEFINE_EXPOSE = 'defineExpose'
69
69
const WITH_DEFAULTS = 'withDefaults'
70
70
const DEFINE_OPTIONS = 'defineOptions'
71
- const DEFINT_SLOTS = 'defineSlots'
71
+ const DEFINE_SLOTS = 'defineSlots'
72
72
73
73
// constants
74
74
const DEFAULT_VAR = `__default__`
@@ -596,11 +596,11 @@ export function compileScript(
596
596
}
597
597
598
598
function processDefineSlots ( node : Node , declId ?: LVal ) : boolean {
599
- if ( ! isCallOf ( node , DEFINT_SLOTS ) ) {
599
+ if ( ! isCallOf ( node , DEFINE_SLOTS ) ) {
600
600
return false
601
601
}
602
602
if ( hasDefineSlotsCall ) {
603
- error ( `duplicate ${ DEFINT_SLOTS } () call` , node )
603
+ error ( `duplicate ${ DEFINE_SLOTS } () call` , node )
604
604
}
605
605
hasDefineSlotsCall = true
606
606
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ export {
69
69
defineEmits ,
70
70
defineExpose ,
71
71
defineOptions ,
72
+ defineSlots ,
72
73
withDefaults ,
73
74
// internal
74
75
mergeDefaults ,
You can’t perform that action at this time.
0 commit comments