File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ function getFirstComponentChild (children: ?Array<VNode>): ?VNode {
26
26
}
27
27
}
28
28
29
- function isPrimitive ( value : any ) : boolean % checks {
29
+ function isPrimitive ( value : any ) : boolean {
30
30
return (
31
31
typeof value === 'string' ||
32
32
typeof value === 'number' ||
33
- // $flow-disable-line
33
+ // $FlowIgnore
34
34
typeof value === 'symbol' ||
35
35
typeof value === 'boolean'
36
36
)
@@ -126,8 +126,8 @@ export default {
126
126
: child . key
127
127
128
128
const data : Object = ( child . data || ( child . data = { } ) ) . transition = extractTransitionData ( this )
129
- const oldRawChild : VNode = this . _vnode
130
- const oldChild : VNode = getRealChild ( oldRawChild )
129
+ const oldRawChild : ? VNode = this . _vnode
130
+ const oldChild : ? VNode = getRealChild ( oldRawChild )
131
131
if ( child . data . directives && child . data . directives . some ( d => d . name === 'show' ) ) {
132
132
child . data . show = true
133
133
}
You can’t perform that action at this time.
0 commit comments