types: fix types

This commit is contained in:
Evan You
2019-11-01 23:04:28 -04:00
parent 66ecd8b47f
commit 5cdeeaa702
4 changed files with 4 additions and 5 deletions

View File

@@ -145,7 +145,7 @@ export function createComponentInstance(
vnode,
parent,
appContext,
type: vnode.type,
type: vnode.type as Component,
root: null!, // set later so it can point to itself
next: null,
subTree: null!, // will be set synchronously right after creation