fix(types): add RawSlots in h signature (#1293)

This commit is contained in:
Cédric Exbrayat
2020-06-12 16:38:56 +02:00
committed by GitHub
parent b015892de6
commit cab769f174
3 changed files with 12 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ export function h(type: string, children?: RawChildren): VNode
export function h(
type: string,
props?: RawProps | null,
children?: RawChildren
children?: RawChildren | RawSlots
): VNode
// fragment