CommentController.activeCommentThread seems to be the raw object instead of a proxy (#224282)

Fixes #223025
This commit is contained in:
Alex Ross
2024-07-30 12:57:06 +02:00
committed by GitHub
parent bb02803698
commit 4fa546bc42

View File

@@ -641,11 +641,11 @@ export function createExtHostComments(mainContext: IMainContext, commands: ExtHo
return this._activeComment;
}
private _activeThread: vscode.CommentThread2 | undefined;
private _activeThread: ExtHostCommentThread | undefined;
get activeCommentThread(): vscode.CommentThread2 | undefined {
checkProposedApiEnabled(this._extension, 'activeComment');
return this._activeThread;
return this._activeThread?.value;
}
private _localDisposables: types.Disposable[];