feat: applyDirectives

This commit is contained in:
Evan You
2019-08-31 16:36:36 -04:00
parent 6801885f57
commit a3b0f2bd1c
5 changed files with 140 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ export type NormalizedChildren = string | VNodeChildren | RawSlots | null
export interface VNode {
type: VNodeTypes
props: { [key: string]: any } | null
props: Record<any, any> | null
key: string | number | null
ref: string | Function | null
children: NormalizedChildren