|
@@ -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
|