diff --git a/comment-sample/package-lock.json b/comment-sample/package-lock.json index caa14528..eaf9172d 100644 --- a/comment-sample/package-lock.json +++ b/comment-sample/package-lock.json @@ -31,9 +31,9 @@ "dev": true }, "@types/vscode": { - "version": "1.33.0", - "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.33.0.tgz", - "integrity": "sha512-JSmGiValbrcG5g20jjCfKakLiuWyrcjVezj+SEAEZ4klXQktE5EtowuGlkLVqbkiBK4iY5wy/4yW8OjecuHnjQ==", + "version": "1.37.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.37.0.tgz", + "integrity": "sha512-PRfeuqYuzk3vjf+puzxltIUWC+AhEGYpFX29/37w30DQSQnpf5AgMVf7GDBAdmTbWTBou+EMFz/Ne6XCM/KxzQ==", "dev": true }, "ansi-styles": { diff --git a/comment-sample/package.json b/comment-sample/package.json index 554d952f..f5e8fe11 100644 --- a/comment-sample/package.json +++ b/comment-sample/package.json @@ -153,6 +153,6 @@ "@types/node": "^6.0.40", "tslint": "^5.16.0", "typescript": "^3.5.1", - "@types/vscode": "^1.32.0" + "@types/vscode": "^1.35.0" } } diff --git a/comment-sample/src/typings/vscode.d.ts b/comment-sample/src/typings/vscode.d.ts deleted file mode 100644 index e809e20d..00000000 --- a/comment-sample/src/typings/vscode.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -declare module 'vscode' { - - /** - * Reactions of a [comment](#Comment) - */ - export interface CommentReaction { - /** - * The human-readable label for the reaction - */ - readonly label: string; - - /** - * Icon for the reaction shown in UI. - */ - readonly iconPath: string | Uri; - - /** - * The number of users who have reacted to this reaction - */ - readonly count: number; - - /** - * Whether the [author](CommentAuthorInformation) of the comment has reacted to this reaction - */ - readonly authorHasReacted: boolean; - } - - export interface Comment { - reactions?: CommentReaction[]; - } - - export interface CommentController { - /** - * - */ - reactionHandler?: (comment: Comment, reaction: CommentReaction) => Promise; - } -} \ No newline at end of file