Skip to content

Commit d51404f

Browse files
committed
fix(runtime-core): keep options API typing intact when expose is used
1 parent 83f6ab6 commit d51404f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/runtime-core/src/apiDefineComponent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ export function defineComponent<
272272
Slots,
273273
LocalComponents,
274274
Directives,
275-
Exposed
275+
string
276276
>
277277
>,
278278
): DefineComponent<

packages/runtime-core/src/componentOptions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ export type ComponentOptionsWithoutProps<
11941194
S,
11951195
LC,
11961196
Directives,
1197-
Exposed
1197+
string
11981198
>
11991199
>
12001200

@@ -1256,7 +1256,7 @@ export type ComponentOptionsWithArrayProps<
12561256
S,
12571257
LC,
12581258
Directives,
1259-
Exposed
1259+
string
12601260
>
12611261
>
12621262

0 commit comments

Comments
 (0)