| ... | @@ -78,7 +78,7 @@ function evaluateWhenNode(node: KeybindingWhenNode, context: ShortcutMatchContex | ... | @@ -78,7 +78,7 @@ function evaluateWhenNode(node: KeybindingWhenNode, context: ShortcutMatchContex |
| 78 | } | 78 | } |
| 79 | | 79 | |
| 80 | function matchesWhenClause( | 80 | function matchesWhenClause( |
| 81 | whenAst: ResolvedKeybindingsConfig[number]["whenAst"], | 81 | whenAst: KeybindingWhenNode | undefined, |
| 82 | context: ShortcutMatchContext, | 82 | context: ShortcutMatchContext, |
| 83 | ): boolean { | 83 | ): boolean { |
| 84 | if (!whenAst) return true; | 84 | if (!whenAst) return true; |