Skip to content

Commit

Permalink
CommentController.activeCommentThread seems to be the raw object inst…
Browse files Browse the repository at this point in the history
…ead of a proxy (#224282)

Fixes #223025
  • Loading branch information
alexr00 authored Jul 30, 2024
1 parent bb02803 commit 4fa546b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/workbench/api/common/extHostComments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down

0 comments on commit 4fa546b

Please sign in to comment.