Skip to content

Commit

Permalink
make comment properties readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornix committed Apr 9, 2019
1 parent 2538145 commit 56f1b47
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/vs/vscode.proposed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -812,28 +812,28 @@ declare module 'vscode' {
/**
* The id of the comment
*/
commentId: string;
readonly commentId: string;

/**
* The text of the comment
*/
body: MarkdownString;
readonly body: MarkdownString;

/**
* Optional label describing the [Comment](#Comment)
* Label will be rendered next to userName if exists.
*/
label?: string;
readonly label?: string;

/**
* The display name of the user who created the comment
*/
userName: string;
readonly userName: string;

/**
* The icon path for the user who created the comment
*/
userIconPath?: Uri;
readonly userIconPath?: Uri;

/**
* @deprecated Use userIconPath instead. The avatar src of the user who created the comment
Expand Down Expand Up @@ -869,17 +869,17 @@ declare module 'vscode' {
/**
* The command to be executed if the comment is selected in the Comments Panel
*/
selectCommand?: Command;
readonly selectCommand?: Command;

/**
* The command to be executed when users try to save the edits to the comment
*/
editCommand?: Command;
readonly editCommand?: Command;

/**
* The command to be executed when users try to delete the comment
*/
deleteCommand?: Command;
readonly deleteCommand?: Command;

/**
* Deprecated
Expand Down

0 comments on commit 56f1b47

Please sign in to comment.