types: improve typing

This commit is contained in:
Evan You
2019-10-08 12:43:13 -04:00
parent b68eb229c7
commit 8da5b007b1
13 changed files with 42 additions and 29 deletions

View File

@@ -132,8 +132,8 @@ export function createComponentInstance(
type: vnode.type as Component,
root: null as any, // set later so it can point to itself
next: null,
subTree: null as any,
update: null as any,
subTree: null as any, // will be set synchronously right after creation
update: null as any, // will be set synchronously right after creation
render: null,
renderProxy: null,
propsProxy: null,