Skip to content

Commit ca66f98

Browse files
committed
Bad change for testing
1 parent 93b329a commit ca66f98

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/tsc/tsc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ts.Debug.loggingHost = {
1111

1212
if (ts.Debug.isDebugging) {
1313
ts.Debug.enableDebugInfo();
14+
(globalThis as any).ts = ts;
1415
}
1516

1617
if (ts.sys.tryEnableSourceMapsForHost && /^development$/i.test(ts.sys.getEnvironmentVariable("NODE_ENV"))) {

src/typingsInstaller/nodeTypingsInstaller.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import * as fs from "fs";
22
import * as path from "path";
33

4+
import * as ts from "./_namespaces/ts";
45
import {
56
combinePaths,
67
createGetCanonicalFileName,
@@ -36,6 +37,10 @@ import {
3637
TypingsInstaller,
3738
} from "./_namespaces/ts.server.typingsInstaller";
3839

40+
if (ts.Debug.isDebugging) {
41+
(globalThis as any).ts = ts;
42+
}
43+
3944
class FileLog implements Log {
4045
constructor(private logFile: string | undefined) {
4146
}

0 commit comments

Comments
 (0)