add hotkey

This commit is contained in:
Harvey Zack committed 2018-10-16 15:21:37 +08:00
1 parent e8e8f7e8e7
commit 3bf0007e5e
18 files changed
+227 -41

No files matched your search

+5
View File
@@ -75,4 +75,9 @@ export default function verification(option) {
typeof option.theme === 'string',
`'theme' option require 'string' type, but got '${typeof option.theme}'.`
);
errorHandle(
typeof option.hotkey === 'boolean',
`'hotkey' option require 'boolean' type, but got '${typeof option.hotkey}'.`
);
}