types: fix types
This commit is contained in:
parent
511ac0bd2f
commit
bb2da9633e
@ -15,7 +15,7 @@ function getBoundMethod(fn: Function, target: any, receiver: any): Function {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const renderProxyHandlers = {
|
const renderProxyHandlers = {
|
||||||
get(target: MountedComponent, key: string, receiver: any) {
|
get(target: MountedComponent<any, any>, key: string, receiver: any) {
|
||||||
if (key === '_self') {
|
if (key === '_self') {
|
||||||
return target
|
return target
|
||||||
} else if (
|
} else if (
|
||||||
@ -50,7 +50,7 @@ const renderProxyHandlers = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
set(
|
set(
|
||||||
target: MountedComponent,
|
target: MountedComponent<any, any>,
|
||||||
key: string,
|
key: string,
|
||||||
value: any,
|
value: any,
|
||||||
receiver: any
|
receiver: any
|
||||||
|
Loading…
x
Reference in New Issue
Block a user