Skip to content

Commit 9ee42fa

Browse files
alexedenztlevi
authored andcommitted
types: extend keyCodes type declaration to allow array of numbers (vuejs#6745)
1 parent b374603 commit 9ee42fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/vue.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export declare class Vue {
8080
errorHandler(err: Error, vm: Vue, info: string): void;
8181
warnHandler(msg: string, vm: Vue, trace: string): void;
8282
ignoredElements: string[];
83-
keyCodes: { [key: string]: number };
83+
keyCodes: { [key: string]: number | number[] };
8484
}
8585

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

0 commit comments

Comments
 (0)