fix flow def

This commit is contained in:
Evan You 2016-06-22 11:41:30 -04:00
parent f0efa9aad2
commit 563672e5fe

View File

@ -57,7 +57,6 @@ declare interface Component {
_isBeingDestroyed: boolean;
_vnode: ?VNode;
_staticTrees: ?Array<VNode>;
_keyCode: (key: string) => ?number;
// private methods
// lifecycle
@ -104,6 +103,8 @@ declare interface Component {
) => ?Array<VNode>;
// apply v-bind object
_b: (vnode: VNodeWithData, value: any) => void;
// retrive custom keyCode
_k: (key: string) => ?number;
// allow dynamic method registration
[key: string]: any