We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d68079 commit fed602bCopy full SHA for fed602b
src/core/vdom/vnode.js
@@ -19,10 +19,10 @@ export default class VNode {
19
isComment: boolean; // empty comment placeholder?
20
isCloned: boolean; // is a cloned node?
21
isOnce: boolean; // is a v-once node?
22
- asyncFactory: ?Function; // async component factory function
23
- asyncMeta: ?Object;
+ asyncFactory: Function | void; // async component factory function
+ asyncMeta: Object | void;
24
isAsyncPlaceholder: boolean;
25
- ssrContext: ?Object;
+ ssrContext: Object | void;
26
27
constructor (
28
tag?: string,
@@ -87,7 +87,8 @@ export function cloneVNode (vnode: VNode): VNode {
87
vnode.text,
88
vnode.elm,
89
vnode.context,
90
- vnode.componentOptions
+ vnode.componentOptions,
91
+ vnode.asyncFactory
92
)
93
cloned.ns = vnode.ns
94
cloned.isStatic = vnode.isStatic
0 commit comments