Skip to content

Commit 563672e

Browse files
committed
fix flow def
1 parent f0efa9a commit 563672e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flow/component.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ declare interface Component {
5757
_isBeingDestroyed: boolean;
5858
_vnode: ?VNode;
5959
_staticTrees: ?Array<VNode>;
60-
_keyCode: (key: string) => ?number;
6160

6261
// private methods
6362
// lifecycle
@@ -104,6 +103,8 @@ declare interface Component {
104103
) => ?Array<VNode>;
105104
// apply v-bind object
106105
_b: (vnode: VNodeWithData, value: any) => void;
106+
// retrive custom keyCode
107+
_k: (key: string) => ?number;
107108

108109
// allow dynamic method registration
109110
[key: string]: any

0 commit comments

Comments
 (0)