Skip to content

Commit 06f1c12

Browse files
PmcFizzalexdima
andauthored
Update IActionDescriptor.precondition desc (microsoft#176124)
* Update standaloneCodeEditor.ts * Update comment and monaco.d.ts --------- Co-authored-by: Alexandru Dima <[email protected]>
1 parent 5af7860 commit 06f1c12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/vs/editor/standalone/browser/standaloneCodeEditor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export interface IActionDescriptor {
5555
*/
5656
label: string;
5757
/**
58-
* Precondition rule.
58+
* Precondition rule. The value should be a [context key expression](https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts).
5959
*/
6060
precondition?: string;
6161
/**

src/vs/monaco.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,7 @@ declare namespace monaco.editor {
12511251
*/
12521252
label: string;
12531253
/**
1254-
* Precondition rule.
1254+
* Precondition rule. The value should be a [context key expression](https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts).
12551255
*/
12561256
precondition?: string;
12571257
/**

0 commit comments

Comments
 (0)