Skip to content

Commit 64e3943

Browse files
alexedenyyx990803
authored andcommitted
types: extend keyCodes type declaration to allow array of numbers (#6745)
1 parent 7bc899c commit 64e3943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: types/vue.d.ts

+1-1
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)