From 413a3d3eb4a1a3b21d8fb4b553b36ff27a078f96 Mon Sep 17 00:00:00 2001 From: Armando Aguirre Date: Mon, 2 Mar 2020 17:13:15 -0800 Subject: [PATCH] Fixed more lint issues. --- src/harness/client.ts | 16 ++++++++-------- src/services/shims.ts | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/harness/client.ts b/src/harness/client.ts index ba2e920ac59..4f11c9d1a92 100644 --- a/src/harness/client.ts +++ b/src/harness/client.ts @@ -812,20 +812,20 @@ namespace ts.server { return notImplemented(); } - toggleLineComment(): ts.TextChange[] { - throw new Error("Method not implemented."); + toggleLineComment(): TextChange[] { + return notImplemented(); } - toggleMultilineComment(): ts.TextChange[] { - throw new Error("Method not implemented."); + toggleMultilineComment(): TextChange[] { + return notImplemented(); } - commentSelection(): ts.TextChange[] { - throw new Error("Method not implemented."); + commentSelection(): TextChange[] { + return notImplemented(); } - uncommentSelection(): ts.TextChange[] { - throw new Error("Method not implemented."); + uncommentSelection(): TextChange[] { + return notImplemented(); } dispose(): void { diff --git a/src/services/shims.ts b/src/services/shims.ts index 15b0c1cb488..e3082b114e6 100644 --- a/src/services/shims.ts +++ b/src/services/shims.ts @@ -279,7 +279,7 @@ namespace ts { getEmitOutputObject(fileName: string): EmitOutput; toggleLineComment(fileName: string, textChange: TextRange): string; - toggleMultilineComment(fileName: string, textChange:TextRange): string; + toggleMultilineComment(fileName: string, textChange: TextRange): string; commentSelection(fileName: string, textChange: TextRange): string; uncommentSelection(fileName: string, textChange: TextRange): string; }