提交 2ea7497c 编写于 作者: M Matt Bierner

Use readonly array for CodeActionContext

Providers should never mutate this array
上级 3e60627d
......@@ -2070,7 +2070,7 @@ declare module 'vscode' {
/**
* An array of diagnostics.
*/
readonly diagnostics: Diagnostic[];
readonly diagnostics: ReadonlyArray<Diagnostic>;
/**
* Requested kind of actions to return.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册