Skip to content

Commit 335c067

Browse files
committed
Fixing type declaration to fix strict null checks.
1 parent 688da1d commit 335c067

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/base/common/keybindingParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export class KeybindingParser {
8686
}
8787
// iteratively extract parts until the length no longer
8888
// changes, implying all valid keybindings have been extracted.
89-
let parts = [];
89+
let parts: SimpleKeybinding[] = [];
9090
let [part, remains] = this.parseSimpleKeybinding(input);
9191
// shortcircuit since there is no remaining chords to process.
9292
if (remains.length === 0) {

0 commit comments

Comments
 (0)