From 0911bf19948032c8774a8e34a1db02d12c7cd9bd Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Sun, 26 Feb 2017 03:29:45 +0900 Subject: [PATCH] improve Vue.config.keyCode typing --- src/core/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/config.js b/src/core/config.js index 2abaddea290..fea3d0af584 100644 --- a/src/core/config.js +++ b/src/core/config.js @@ -11,7 +11,7 @@ export type Config = { devtools: boolean; errorHandler: ?(err: Error, vm: Component, info: string) => void; ignoredElements: Array; - keyCodes: { [key: string]: number }; + keyCodes: { [key: string]: number | Array }; // platform isReservedTag: (x?: string) => boolean; parsePlatformTagName: (x: string) => string;