Skip to content

Commit aefdb55

Browse files
committed
wip
1 parent cde07e7 commit aefdb55

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/runtime-core/src/apiDefineComponent.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ type InferComponentOptions<
132132
__typeEl?: infer TypeEl
133133
}
134134
? {
135+
components?: GlobalComponents
136+
directives?: GlobalDirectives
137+
135138
/**
136139
* #3468
137140
*
@@ -411,8 +414,8 @@ export function defineComponent<
411414
{
412415
props?: PropsOptions
413416
emits?: string[] extends RuntimeEmitsOptions ? {} : RuntimeEmitsOptions
414-
components?: LocalComponents & GlobalComponents
415-
directives?: Directives & GlobalDirectives
417+
components?: LocalComponents
418+
directives?: Directives
416419
slots?: Slots
417420
expose?: Exposed[]
418421
computed?: Computed

0 commit comments

Comments
 (0)