Skip to content

Commit

Permalink
types: extend keyCodes type declaration to allow array of numbers (vu…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeden authored and yyx990803 committed Oct 6, 2017
1 parent 7bc899c commit 64e3943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export declare class Vue {
errorHandler(err: Error, vm: Vue, info: string): void;
warnHandler(msg: string, vm: Vue, trace: string): void;
ignoredElements: string[];
keyCodes: { [key: string]: number };
keyCodes: { [key: string]: number | number[] };
}

static extend(options: ComponentOptions<Vue> | FunctionalComponentOptions): typeof Vue;
Expand Down

0 comments on commit 64e3943

Please sign in to comment.