type: improve typing (#177)
This commit is contained in:
@@ -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
|
||||
) {
|
||||
|
||||
@@ -50,7 +50,7 @@ h('div', null, {})
|
||||
export interface RawProps {
|
||||
[key: string]: any
|
||||
key?: string | number
|
||||
ref?: string | Ref<any> | Function
|
||||
ref?: string | Ref | Function
|
||||
// used to differ from a single VNode object as children
|
||||
_isVNode?: never
|
||||
// used to differ from Array children
|
||||
|
||||
Reference in New Issue
Block a user