File tree 3 files changed +7
-1
lines changed
3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 11
11
flow
12
12
13
13
[options]
14
+ unsafe.enable_getters_and_setters=true
14
15
module.name_mapper='^compiler/\(.*\)$' -> '<PROJECT_ROOT>/src/compiler/\1'
15
16
module.name_mapper='^core/\(.*\)$' -> '<PROJECT_ROOT>/src/core/\1'
16
17
module.name_mapper='^shared/\(.*\)$' -> '<PROJECT_ROOT>/src/shared/\1'
Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ export default class VNode {
48
48
this . isCloned = false
49
49
this . isOnce = false
50
50
}
51
+
52
+ // DEPRECATED: alias for componentInstance for backwards compat.
53
+ get child ( ) : Component | void {
54
+ return this . componentInstance
55
+ }
51
56
}
52
57
53
58
export const createEmptyVNode = ( ) => {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export interface VNode {
17
17
context ?: Vue ;
18
18
key ?: string | number ;
19
19
componentOptions ?: VNodeComponentOptions ;
20
- child ?: Vue ;
20
+ componentInstance ?: Vue ;
21
21
parent ?: VNode ;
22
22
raw ?: boolean ;
23
23
isStatic ?: boolean ;
You can’t perform that action at this time.
0 commit comments