File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 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'
6868const DEFINE_EXPOSE = 'defineExpose'
6969const WITH_DEFAULTS = 'withDefaults'
7070const DEFINE_OPTIONS = 'defineOptions'
71- const DEFINT_SLOTS = 'defineSlots'
71+ const DEFINE_SLOTS = 'defineSlots'
7272
7373// constants
7474const DEFAULT_VAR = `__default__`
@@ -596,11 +596,11 @@ export function compileScript(
596596 }
597597
598598 function processDefineSlots ( node : Node , declId ?: LVal ) : boolean {
599- if ( ! isCallOf ( node , DEFINT_SLOTS ) ) {
599+ if ( ! isCallOf ( node , DEFINE_SLOTS ) ) {
600600 return false
601601 }
602602 if ( hasDefineSlotsCall ) {
603- error ( `duplicate ${ DEFINT_SLOTS } () call` , node )
603+ error ( `duplicate ${ DEFINE_SLOTS } () call` , node )
604604 }
605605 hasDefineSlotsCall = true
606606
Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ export {
6969 defineEmits ,
7070 defineExpose ,
7171 defineOptions ,
72+ defineSlots ,
7273 withDefaults ,
7374 // internal
7475 mergeDefaults ,
You can’t perform that action at this time.
0 commit comments