Update IActionDescriptor.precondition desc (#176124)

* Update standaloneCodeEditor.ts

* Update comment and monaco.d.ts

---------

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
This commit is contained in:
Fizz 2024-03-21 05:09:24 +08:00 committed by GitHub
parent 5af7860ca2
commit 06f1c12edb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -55,7 +55,7 @@ export interface IActionDescriptor {
*/
label: string;
/**
* Precondition rule.
* Precondition rule. The value should be a [context key expression](https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts).
*/
precondition?: string;
/**

2
src/vs/monaco.d.ts vendored
View file

@ -1251,7 +1251,7 @@ declare namespace monaco.editor {
*/
label: string;
/**
* Precondition rule.
* Precondition rule. The value should be a [context key expression](https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts).
*/
precondition?: string;
/**