提交 ba0f67f8 编写于 作者: P Peng Lyu

Fix warnings

上级 ce1cb8a9
......@@ -1002,7 +1002,7 @@ declare module 'vscode' {
* @return A thenable that resolves to a list of commenting ranges or null and undefined if the provider
* does not want to participate or was cancelled.
*/
registerCommentingRangeProvider(provider: (document: TextDocument, token: CancellationToken) => ProviderResult<Range[]>, callback: (document: TextDocument, range: Range) => void);
registerCommentingRangeProvider(provider: (document: TextDocument, token: CancellationToken) => ProviderResult<Range[]>, callback: (document: TextDocument, range: Range) => void): void;
dispose(): void;
}
......
......@@ -151,13 +151,11 @@ export class MainThreadCommentThread implements modes.CommentThread2 {
set collapsibleState(newState: modes.CommentThreadCollapsibleState) {
this._collapsibleState = newState;
this._onDidChangeCollasibleState.fire(this._collapsibleState);
}
private _onDidChangeCollasibleState = new Emitter<modes.CommentThreadCollapsibleState>();
public onDidChangeCollasibleState = this._onDidChangeCollasibleState.event;
constructor(
public commentThreadHandle: number,
public controller: MainThreadCommentController,
......@@ -172,9 +170,7 @@ export class MainThreadCommentThread implements modes.CommentThread2 {
}
dispose() {
}
dispose() { }
toJSON(): any {
return {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册