Skip to content

Commit 413a3d3

Browse files
author
Armando Aguirre
committed
Fixed more lint issues.
1 parent 35a3d85 commit 413a3d3

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/harness/client.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -812,20 +812,20 @@ namespace ts.server {
812812
return notImplemented();
813813
}
814814

815-
toggleLineComment(): ts.TextChange[] {
816-
throw new Error("Method not implemented.");
815+
toggleLineComment(): TextChange[] {
816+
return notImplemented();
817817
}
818818

819-
toggleMultilineComment(): ts.TextChange[] {
820-
throw new Error("Method not implemented.");
819+
toggleMultilineComment(): TextChange[] {
820+
return notImplemented();
821821
}
822822

823-
commentSelection(): ts.TextChange[] {
824-
throw new Error("Method not implemented.");
823+
commentSelection(): TextChange[] {
824+
return notImplemented();
825825
}
826826

827-
uncommentSelection(): ts.TextChange[] {
828-
throw new Error("Method not implemented.");
827+
uncommentSelection(): TextChange[] {
828+
return notImplemented();
829829
}
830830

831831
dispose(): void {

src/services/shims.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ namespace ts {
279279
getEmitOutputObject(fileName: string): EmitOutput;
280280

281281
toggleLineComment(fileName: string, textChange: TextRange): string;
282-
toggleMultilineComment(fileName: string, textChange:TextRange): string;
282+
toggleMultilineComment(fileName: string, textChange: TextRange): string;
283283
commentSelection(fileName: string, textChange: TextRange): string;
284284
uncommentSelection(fileName: string, textChange: TextRange): string;
285285
}

0 commit comments

Comments
 (0)