Skip to content

Commit b5dfad1

Browse files
committed
Update LKG
1 parent 630af21 commit b5dfad1

File tree

6 files changed

+32
-2
lines changed

6 files changed

+32
-2
lines changed

lib/tsc.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3039,6 +3039,11 @@ var ts;
30393039
clearTimeout: clearTimeout,
30403040
clearScreen: function () {
30413041
process.stdout.write("\x1Bc");
3042+
},
3043+
setBlocking: function () {
3044+
if (process.stdout && process.stdout._handle && process.stdout._handle.setBlocking) {
3045+
process.stdout._handle.setBlocking(true);
3046+
}
30423047
}
30433048
};
30443049
return nodeSystem;
@@ -65964,7 +65969,7 @@ if (ts.Debug.isDebugging) {
6596465969
if (ts.sys.tryEnableSourceMapsForHost && /^development$/i.test(ts.sys.getEnvironmentVariable("NODE_ENV"))) {
6596565970
ts.sys.tryEnableSourceMapsForHost();
6596665971
}
65967-
if (process && process.stdout && process.stdout._handle && process.stdout._handle.setBlocking) {
65968-
process.stdout._handle.setBlocking(true);
65972+
if (ts.sys.setBlocking) {
65973+
ts.sys.setBlocking();
6596965974
}
6597065975
ts.executeCommandLine(ts.sys.args);

lib/tsserver.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4253,6 +4253,11 @@ var ts;
42534253
clearTimeout: clearTimeout,
42544254
clearScreen: function () {
42554255
process.stdout.write("\x1Bc");
4256+
},
4257+
setBlocking: function () {
4258+
if (process.stdout && process.stdout._handle && process.stdout._handle.setBlocking) {
4259+
process.stdout._handle.setBlocking(true);
4260+
}
42564261
}
42574262
};
42584263
return nodeSystem;

lib/tsserverlibrary.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4946,6 +4946,11 @@ var ts;
49464946
clearTimeout: clearTimeout,
49474947
clearScreen: function () {
49484948
process.stdout.write("\x1Bc");
4949+
},
4950+
setBlocking: function () {
4951+
if (process.stdout && process.stdout._handle && process.stdout._handle.setBlocking) {
4952+
process.stdout._handle.setBlocking(true);
4953+
}
49494954
}
49504955
};
49514956
return nodeSystem;

lib/typescript.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4946,6 +4946,11 @@ var ts;
49464946
clearTimeout: clearTimeout,
49474947
clearScreen: function () {
49484948
process.stdout.write("\x1Bc");
4949+
},
4950+
setBlocking: function () {
4951+
if (process.stdout && process.stdout._handle && process.stdout._handle.setBlocking) {
4952+
process.stdout._handle.setBlocking(true);
4953+
}
49494954
}
49504955
};
49514956
return nodeSystem;

lib/typescriptServices.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4946,6 +4946,11 @@ var ts;
49464946
clearTimeout: clearTimeout,
49474947
clearScreen: function () {
49484948
process.stdout.write("\x1Bc");
4949+
},
4950+
setBlocking: function () {
4951+
if (process.stdout && process.stdout._handle && process.stdout._handle.setBlocking) {
4952+
process.stdout._handle.setBlocking(true);
4953+
}
49494954
}
49504955
};
49514956
return nodeSystem;

lib/typingsInstaller.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3049,6 +3049,11 @@ var ts;
30493049
clearTimeout: clearTimeout,
30503050
clearScreen: function () {
30513051
process.stdout.write("\x1Bc");
3052+
},
3053+
setBlocking: function () {
3054+
if (process.stdout && process.stdout._handle && process.stdout._handle.setBlocking) {
3055+
process.stdout._handle.setBlocking(true);
3056+
}
30523057
}
30533058
};
30543059
return nodeSystem;

0 commit comments

Comments
 (0)