Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 536f59c

Browse filesBrowse files
committed
fix formatting
1 parent 78d8e80 commit 536f59c
Copy full SHA for 536f59c

2 files changed

+23-23Lines changed: 23 additions & 23 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/testRunner/unittests/tsserver/compileOnSave.ts‎

Copy file name to clipboardExpand all lines: src/testRunner/unittests/tsserver/compileOnSave.ts
+20-20Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -565,46 +565,46 @@ namespace ts.projectSystem {
565565

566566
it("should return empty array if change is made in a global declaration file", () => {
567567
testDTS(
568-
/*dtsFileContents*/ "declare const x: string;",
569-
/*tsFileContents*/ "var y = 1;",
570-
/*opts*/ {},
571-
/*expectDTSEmit*/ false
568+
/*dtsFileContents*/ "declare const x: string;",
569+
/*tsFileContents*/ "var y = 1;",
570+
/*opts*/ {},
571+
/*expectDTSEmit*/ false
572572
);
573573
});
574574

575575
it("should return empty array if change is made in a module declaration file", () => {
576576
testDTS(
577-
/*dtsFileContents*/ "export const x: string;",
578-
/*tsFileContents*/ "import { x } from './runtime/a;",
579-
/*opts*/ {},
580-
/*expectDTSEmit*/ false
577+
/*dtsFileContents*/ "export const x: string;",
578+
/*tsFileContents*/ "import { x } from './runtime/a;",
579+
/*opts*/ {},
580+
/*expectDTSEmit*/ false
581581
);
582582
});
583583

584584
it("should return results if change is made in a global declaration file with declaration emit", () => {
585585
testDTS(
586-
/*dtsFileContents*/ "declare const x: string;",
587-
/*tsFileContents*/ "var y = 1;",
588-
/*opts*/ { declaration: true },
589-
/*expectDTSEmit*/ true
586+
/*dtsFileContents*/ "declare const x: string;",
587+
/*tsFileContents*/ "var y = 1;",
588+
/*opts*/ { declaration: true },
589+
/*expectDTSEmit*/ true
590590
);
591591
});
592592

593593
it("should return results if change is made in a global declaration file with composite enabled", () => {
594594
testDTS(
595-
/*dtsFileContents*/ "declare const x: string;",
596-
/*tsFileContents*/ "var y = 1;",
597-
/*opts*/ { composite: true },
598-
/*expectDTSEmit*/ true
595+
/*dtsFileContents*/ "declare const x: string;",
596+
/*tsFileContents*/ "var y = 1;",
597+
/*opts*/ { composite: true },
598+
/*expectDTSEmit*/ true
599599
);
600600
});
601601

602602
it("should return results if change is made in a global declaration file with decorator emit enabled", () => {
603603
testDTS(
604-
/*dtsFileContents*/ "declare const x: string;",
605-
/*tsFileContents*/ "var y = 1;",
606-
/*opts*/ { experimentalDecorators: true, emitDecoratorMetadata: true },
607-
/*expectDTSEmit*/ true
604+
/*dtsFileContents*/ "declare const x: string;",
605+
/*tsFileContents*/ "var y = 1;",
606+
/*opts*/ { experimentalDecorators: true, emitDecoratorMetadata: true },
607+
/*expectDTSEmit*/ true
608608
);
609609
});
610610
});
Collapse file

‎src/tsserver/server.ts‎

Copy file name to clipboardExpand all lines: src/tsserver/server.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,13 @@ namespace ts.server {
181181
switch (type) {
182182
case Msg.Info:
183183
perfLogger.logInfoEvent(s);
184-
break;
184+
break;
185185
case Msg.Perf:
186186
perfLogger.logPerfEvent(s);
187-
break;
187+
break;
188188
default: // Msg.Err
189189
perfLogger.logErrEvent(s);
190-
break;
190+
break;
191191
}
192192

193193
if (!this.canWrite) return;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.