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<
4343 T extends Function ,
4444 TArgs extends Array < any > = any [ ] ,
4545 TResult = any
46- > = T extends ( ...args : TArgs ) => TResult ? T : never
46+ > = T extends ( ...args : TArgs ) => TResult ? T : any
4747
4848type ExtractCorrectPropType < T > = T extends Function
4949 ? ExtractFunctionPropType < T >
Original file line number Diff line number Diff line change @@ -27,17 +27,12 @@ export type ComponentRenderProxy<
2727 $data : D
2828 $props : Readonly < P & PublicProps >
2929 $attrs : Data
30- $refs : Data
31- $slots : Data
32- $root : ComponentInstance | null
33- $parent : ComponentInstance | null
34- $emit : ( event : string , ...args : unknown [ ] ) => void
3530} & Readonly < P > &
3631 UnwrapRef < B > &
3732 D &
3833 M &
3934 ExtractComputedReturns < C > &
40- Vue
35+ Omit < Vue , '$data' | '$props' | '$attrs' >
4136
4237// for Vetur and TSX support
4338type VueConstructorProxy < PropsOptions , RawBindings > = VueConstructor & {
You can’t perform that action at this time.
0 commit comments