Browse Source

types: extend keyCodes type declaration to allow array of numbers (#6745)

dev
Alexander Eden 7 years ago
committed by Evan You
parent
commit
64e3943842
  1. 2
      types/vue.d.ts

2
types/vue.d.ts

@ -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;

Loading…
Cancel
Save