提交 335c0675 编写于 作者: Y Yusuke Tsutsumi

Fixing type declaration to fix strict null checks.

上级 688da1d4
......@@ -86,7 +86,7 @@ export class KeybindingParser {
}
// iteratively extract parts until the length no longer
// changes, implying all valid keybindings have been extracted.
let parts = [];
let parts: SimpleKeybinding[] = [];
let [part, remains] = this.parseSimpleKeybinding(input);
// shortcircuit since there is no remaining chords to process.
if (remains.length === 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册