type: improve typing (#177)

This commit is contained in:
扩散性百万甜面包
2019-10-10 02:01:53 +08:00
committed by Evan You
parent 8f1475b8dd
commit def27239bd
5 changed files with 9 additions and 11 deletions

View File

@@ -1767,8 +1767,8 @@ export function createRenderer<
}
function setRef(
ref: string | Function | Ref<any>,
oldRef: string | Function | Ref<any> | null,
ref: string | Function | Ref,
oldRef: string | Function | Ref | null,
parent: ComponentInternalInstance,
value: HostNode | ComponentPublicInstance | null
) {