未验证 提交 2ce45bf7 编写于 作者: A Alex Dima

Fixes microsoft/monaco-editor#1796: Expose ConfigurationChangedEvent.hasChanged in the API

上级 b22dd8e6
......@@ -624,9 +624,6 @@ export class ConfigurationChangedEvent {
constructor(values: boolean[]) {
this._values = values;
}
/**
* @internal
*/
public hasChanged(id: EditorOption): boolean {
return this._values[id];
}
......
......@@ -3089,6 +3089,7 @@ declare namespace monaco.editor {
* An event describing that the configuration of the editor has changed.
*/
export class ConfigurationChangedEvent {
hasChanged(id: EditorOption): boolean;
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册