File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
packages/runtime-core/src Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export type DefineComponent<
89
89
> &
90
90
PP
91
91
92
- type DirectSetupComponent <
92
+ export type DefineSetupFnComponent <
93
93
P extends Record < string , any > ,
94
94
E extends EmitsOptions = { } ,
95
95
S extends SlotsType = SlotsType ,
@@ -135,7 +135,7 @@ export function defineComponent<
135
135
emits ?: E | EE [ ]
136
136
slots ?: S
137
137
} ,
138
- ) : DirectSetupComponent < Props , E , S >
138
+ ) : DefineSetupFnComponent < Props , E , S >
139
139
export function defineComponent <
140
140
Props extends Record < string , any > ,
141
141
E extends EmitsOptions = { } ,
@@ -151,7 +151,7 @@ export function defineComponent<
151
151
emits ?: E | EE [ ]
152
152
slots ?: S
153
153
} ,
154
- ) : DirectSetupComponent < Props , E , S >
154
+ ) : DefineSetupFnComponent < Props , E , S >
155
155
156
156
// overload 2: object format with no props
157
157
// (uses user defined props interface)
Original file line number Diff line number Diff line change @@ -250,7 +250,11 @@ export type {
250
250
AllowedComponentProps ,
251
251
ComponentInstance ,
252
252
} from './component'
253
- export type { DefineComponent , PublicProps } from './apiDefineComponent'
253
+ export type {
254
+ DefineComponent ,
255
+ DefineSetupFnComponent ,
256
+ PublicProps ,
257
+ } from './apiDefineComponent'
254
258
export type {
255
259
ComponentOptions ,
256
260
ComponentOptionsMixin ,
You can’t perform that action at this time.
0 commit comments