Files
vscode/src/vscode-dts/vscode.proposed.commentsDraftState.d.ts
Hermann Loose de3b0db8e8 Allow individual comments to be marked as draft (#173305)
* Allow individual comments to be marked as draft

This is a proposal for #171166.

* Remove `hasDraftComments` from `CommentThread`

* Rename `CommentVisibility` to `CommentState`

* Rename `CommentVisibility` to `CommentState`

* Add api proposal check

---------

Co-authored-by: Alex Ross <alros@microsoft.com>
2023-03-28 19:18:22 +02:00

19 lines
553 B
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
declare module 'vscode' {
// https://github.com/microsoft/vscode/issues/171166
export enum CommentState {
Published = 0,
Draft = 1
}
export interface Comment {
state?: CommentState;
}
}