File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1111flow
1212
1313[options]
14+ unsafe.enable_getters_and_setters=true
1415module.name_mapper='^compiler/\(.*\)$' -> '<PROJECT_ROOT>/src/compiler/\1'
1516module.name_mapper='^core/\(.*\)$' -> '<PROJECT_ROOT>/src/core/\1'
1617module.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 {
4848 this . isCloned = false
4949 this . isOnce = false
5050 }
51+
52+ // DEPRECATED: alias for componentInstance for backwards compat.
53+ get child ( ) : Component | void {
54+ return this . componentInstance
55+ }
5156}
5257
5358export const createEmptyVNode = ( ) => {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export interface VNode {
1717 context ?: Vue ;
1818 key ?: string | number ;
1919 componentOptions ?: VNodeComponentOptions ;
20- child ?: Vue ;
20+ componentInstance ?: Vue ;
2121 parent ?: VNode ;
2222 raw ?: boolean ;
2323 isStatic ?: boolean ;
You can’t perform that action at this time.
0 commit comments