File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ type ExtractFunctionPropType<
43
43
T extends Function ,
44
44
TArgs extends Array < any > = any [ ] ,
45
45
TResult = any
46
- > = T extends ( ...args : TArgs ) => TResult ? T : never
46
+ > = T extends ( ...args : TArgs ) => TResult ? T : any
47
47
48
48
type ExtractCorrectPropType < T > = T extends Function
49
49
? ExtractFunctionPropType < T >
Original file line number Diff line number Diff line change @@ -27,17 +27,12 @@ export type ComponentRenderProxy<
27
27
$data : D
28
28
$props : Readonly < P & PublicProps >
29
29
$attrs : Data
30
- $refs : Data
31
- $slots : Data
32
- $root : ComponentInstance | null
33
- $parent : ComponentInstance | null
34
- $emit : ( event : string , ...args : unknown [ ] ) => void
35
30
} & Readonly < P > &
36
31
UnwrapRef < B > &
37
32
D &
38
33
M &
39
34
ExtractComputedReturns < C > &
40
- Vue
35
+ Omit < Vue , '$data' | '$props' | '$attrs' >
41
36
42
37
// for Vetur and TSX support
43
38
type VueConstructorProxy < PropsOptions , RawBindings > = VueConstructor & {
You can’t perform that action at this time.
0 commit comments