typescript 4.5.1-rc → 4.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/tsc.js CHANGED
@@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
69
69
  var ts;
70
70
  (function (ts) {
71
71
  ts.versionMajorMinor = "4.5";
72
- ts.version = ts.versionMajorMinor + ".1-rc";
72
+ ts.version = "4.5.2";
73
73
  var NativeCollections;
74
74
  (function (NativeCollections) {
75
75
  function tryGetNativeMap() {
@@ -88,7 +88,7 @@ var ts;
88
88
  var constructor = (_a = NativeCollections[nativeFactory]()) !== null && _a !== void 0 ? _a : ts.ShimCollections === null || ts.ShimCollections === void 0 ? void 0 : ts.ShimCollections[shimFactory](ts.getIterator);
89
89
  if (constructor)
90
90
  return constructor;
91
- throw new Error("TypeScript requires an environment that provides a compatible native " + name + " implementation.");
91
+ throw new Error("TypeScript requires an environment that provides a compatible native ".concat(name, " implementation."));
92
92
  }
93
93
  })(ts || (ts = {}));
94
94
  var ts;
@@ -1294,7 +1294,7 @@ var ts;
1294
1294
  function cast(value, test) {
1295
1295
  if (value !== undefined && test(value))
1296
1296
  return value;
1297
- return ts.Debug.fail("Invalid cast. The supplied value " + value + " did not pass the test '" + ts.Debug.getFunctionName(test) + "'.");
1297
+ return ts.Debug.fail("Invalid cast. The supplied value ".concat(value, " did not pass the test '").concat(ts.Debug.getFunctionName(test), "'."));
1298
1298
  }
1299
1299
  ts.cast = cast;
1300
1300
  function noop(_) { }
@@ -1344,7 +1344,7 @@ var ts;
1344
1344
  function memoizeOne(callback) {
1345
1345
  var map = new ts.Map();
1346
1346
  return function (arg) {
1347
- var key = typeof arg + ":" + arg;
1347
+ var key = "".concat(typeof arg, ":").concat(arg);
1348
1348
  var value = map.get(key);
1349
1349
  if (value === undefined && !map.has(key)) {
1350
1350
  value = callback(arg);
@@ -1679,7 +1679,7 @@ var ts;
1679
1679
  ts.createGetCanonicalFileName = createGetCanonicalFileName;
1680
1680
  function patternText(_a) {
1681
1681
  var prefix = _a.prefix, suffix = _a.suffix;
1682
- return prefix + "*" + suffix;
1682
+ return "".concat(prefix, "*").concat(suffix);
1683
1683
  }
1684
1684
  ts.patternText = patternText;
1685
1685
  function matchedText(pattern, candidate) {
@@ -1948,7 +1948,7 @@ var ts;
1948
1948
  }
1949
1949
  function fail(message, stackCrawlMark) {
1950
1950
  debugger;
1951
- var e = new Error(message ? "Debug Failure. " + message : "Debug Failure.");
1951
+ var e = new Error(message ? "Debug Failure. ".concat(message) : "Debug Failure.");
1952
1952
  if (Error.captureStackTrace) {
1953
1953
  Error.captureStackTrace(e, stackCrawlMark || fail);
1954
1954
  }
@@ -1956,12 +1956,12 @@ var ts;
1956
1956
  }
1957
1957
  Debug.fail = fail;
1958
1958
  function failBadSyntaxKind(node, message, stackCrawlMark) {
1959
- return fail((message || "Unexpected node.") + "\r\nNode " + formatSyntaxKind(node.kind) + " was unexpected.", stackCrawlMark || failBadSyntaxKind);
1959
+ return fail("".concat(message || "Unexpected node.", "\r\nNode ").concat(formatSyntaxKind(node.kind), " was unexpected."), stackCrawlMark || failBadSyntaxKind);
1960
1960
  }
1961
1961
  Debug.failBadSyntaxKind = failBadSyntaxKind;
1962
1962
  function assert(expression, message, verboseDebugInfo, stackCrawlMark) {
1963
1963
  if (!expression) {
1964
- message = message ? "False expression: " + message : "False expression.";
1964
+ message = message ? "False expression: ".concat(message) : "False expression.";
1965
1965
  if (verboseDebugInfo) {
1966
1966
  message += "\r\nVerbose Debug Information: " + (typeof verboseDebugInfo === "string" ? verboseDebugInfo : verboseDebugInfo());
1967
1967
  }
@@ -1971,26 +1971,26 @@ var ts;
1971
1971
  Debug.assert = assert;
1972
1972
  function assertEqual(a, b, msg, msg2, stackCrawlMark) {
1973
1973
  if (a !== b) {
1974
- var message = msg ? msg2 ? msg + " " + msg2 : msg : "";
1975
- fail("Expected " + a + " === " + b + ". " + message, stackCrawlMark || assertEqual);
1974
+ var message = msg ? msg2 ? "".concat(msg, " ").concat(msg2) : msg : "";
1975
+ fail("Expected ".concat(a, " === ").concat(b, ". ").concat(message), stackCrawlMark || assertEqual);
1976
1976
  }
1977
1977
  }
1978
1978
  Debug.assertEqual = assertEqual;
1979
1979
  function assertLessThan(a, b, msg, stackCrawlMark) {
1980
1980
  if (a >= b) {
1981
- fail("Expected " + a + " < " + b + ". " + (msg || ""), stackCrawlMark || assertLessThan);
1981
+ fail("Expected ".concat(a, " < ").concat(b, ". ").concat(msg || ""), stackCrawlMark || assertLessThan);
1982
1982
  }
1983
1983
  }
1984
1984
  Debug.assertLessThan = assertLessThan;
1985
1985
  function assertLessThanOrEqual(a, b, stackCrawlMark) {
1986
1986
  if (a > b) {
1987
- fail("Expected " + a + " <= " + b, stackCrawlMark || assertLessThanOrEqual);
1987
+ fail("Expected ".concat(a, " <= ").concat(b), stackCrawlMark || assertLessThanOrEqual);
1988
1988
  }
1989
1989
  }
1990
1990
  Debug.assertLessThanOrEqual = assertLessThanOrEqual;
1991
1991
  function assertGreaterThanOrEqual(a, b, stackCrawlMark) {
1992
1992
  if (a < b) {
1993
- fail("Expected " + a + " >= " + b, stackCrawlMark || assertGreaterThanOrEqual);
1993
+ fail("Expected ".concat(a, " >= ").concat(b), stackCrawlMark || assertGreaterThanOrEqual);
1994
1994
  }
1995
1995
  }
1996
1996
  Debug.assertGreaterThanOrEqual = assertGreaterThanOrEqual;
@@ -2022,42 +2022,42 @@ var ts;
2022
2022
  function assertNever(member, message, stackCrawlMark) {
2023
2023
  if (message === void 0) { message = "Illegal value:"; }
2024
2024
  var detail = typeof member === "object" && ts.hasProperty(member, "kind") && ts.hasProperty(member, "pos") && formatSyntaxKind ? "SyntaxKind: " + formatSyntaxKind(member.kind) : JSON.stringify(member);
2025
- return fail(message + " " + detail, stackCrawlMark || assertNever);
2025
+ return fail("".concat(message, " ").concat(detail), stackCrawlMark || assertNever);
2026
2026
  }
2027
2027
  Debug.assertNever = assertNever;
2028
2028
  function assertEachNode(nodes, test, message, stackCrawlMark) {
2029
2029
  if (shouldAssertFunction(1, "assertEachNode")) {
2030
- assert(test === undefined || ts.every(nodes, test), message || "Unexpected node.", function () { return "Node array did not pass test '" + getFunctionName(test) + "'."; }, stackCrawlMark || assertEachNode);
2030
+ assert(test === undefined || ts.every(nodes, test), message || "Unexpected node.", function () { return "Node array did not pass test '".concat(getFunctionName(test), "'."); }, stackCrawlMark || assertEachNode);
2031
2031
  }
2032
2032
  }
2033
2033
  Debug.assertEachNode = assertEachNode;
2034
2034
  function assertNode(node, test, message, stackCrawlMark) {
2035
2035
  if (shouldAssertFunction(1, "assertNode")) {
2036
- assert(node !== undefined && (test === undefined || test(node)), message || "Unexpected node.", function () { return "Node " + formatSyntaxKind(node === null || node === void 0 ? void 0 : node.kind) + " did not pass test '" + getFunctionName(test) + "'."; }, stackCrawlMark || assertNode);
2036
+ assert(node !== undefined && (test === undefined || test(node)), message || "Unexpected node.", function () { return "Node ".concat(formatSyntaxKind(node === null || node === void 0 ? void 0 : node.kind), " did not pass test '").concat(getFunctionName(test), "'."); }, stackCrawlMark || assertNode);
2037
2037
  }
2038
2038
  }
2039
2039
  Debug.assertNode = assertNode;
2040
2040
  function assertNotNode(node, test, message, stackCrawlMark) {
2041
2041
  if (shouldAssertFunction(1, "assertNotNode")) {
2042
- assert(node === undefined || test === undefined || !test(node), message || "Unexpected node.", function () { return "Node " + formatSyntaxKind(node.kind) + " should not have passed test '" + getFunctionName(test) + "'."; }, stackCrawlMark || assertNotNode);
2042
+ assert(node === undefined || test === undefined || !test(node), message || "Unexpected node.", function () { return "Node ".concat(formatSyntaxKind(node.kind), " should not have passed test '").concat(getFunctionName(test), "'."); }, stackCrawlMark || assertNotNode);
2043
2043
  }
2044
2044
  }
2045
2045
  Debug.assertNotNode = assertNotNode;
2046
2046
  function assertOptionalNode(node, test, message, stackCrawlMark) {
2047
2047
  if (shouldAssertFunction(1, "assertOptionalNode")) {
2048
- assert(test === undefined || node === undefined || test(node), message || "Unexpected node.", function () { return "Node " + formatSyntaxKind(node === null || node === void 0 ? void 0 : node.kind) + " did not pass test '" + getFunctionName(test) + "'."; }, stackCrawlMark || assertOptionalNode);
2048
+ assert(test === undefined || node === undefined || test(node), message || "Unexpected node.", function () { return "Node ".concat(formatSyntaxKind(node === null || node === void 0 ? void 0 : node.kind), " did not pass test '").concat(getFunctionName(test), "'."); }, stackCrawlMark || assertOptionalNode);
2049
2049
  }
2050
2050
  }
2051
2051
  Debug.assertOptionalNode = assertOptionalNode;
2052
2052
  function assertOptionalToken(node, kind, message, stackCrawlMark) {
2053
2053
  if (shouldAssertFunction(1, "assertOptionalToken")) {
2054
- assert(kind === undefined || node === undefined || node.kind === kind, message || "Unexpected node.", function () { return "Node " + formatSyntaxKind(node === null || node === void 0 ? void 0 : node.kind) + " was not a '" + formatSyntaxKind(kind) + "' token."; }, stackCrawlMark || assertOptionalToken);
2054
+ assert(kind === undefined || node === undefined || node.kind === kind, message || "Unexpected node.", function () { return "Node ".concat(formatSyntaxKind(node === null || node === void 0 ? void 0 : node.kind), " was not a '").concat(formatSyntaxKind(kind), "' token."); }, stackCrawlMark || assertOptionalToken);
2055
2055
  }
2056
2056
  }
2057
2057
  Debug.assertOptionalToken = assertOptionalToken;
2058
2058
  function assertMissingNode(node, message, stackCrawlMark) {
2059
2059
  if (shouldAssertFunction(1, "assertMissingNode")) {
2060
- assert(node === undefined, message || "Unexpected node.", function () { return "Node " + formatSyntaxKind(node.kind) + " was unexpected'."; }, stackCrawlMark || assertMissingNode);
2060
+ assert(node === undefined, message || "Unexpected node.", function () { return "Node ".concat(formatSyntaxKind(node.kind), " was unexpected'."); }, stackCrawlMark || assertMissingNode);
2061
2061
  }
2062
2062
  }
2063
2063
  Debug.assertMissingNode = assertMissingNode;
@@ -2078,7 +2078,7 @@ var ts;
2078
2078
  }
2079
2079
  Debug.getFunctionName = getFunctionName;
2080
2080
  function formatSymbol(symbol) {
2081
- return "{ name: " + ts.unescapeLeadingUnderscores(symbol.escapedName) + "; flags: " + formatSymbolFlags(symbol.flags) + "; declarations: " + ts.map(symbol.declarations, function (node) { return formatSyntaxKind(node.kind); }) + " }";
2081
+ return "{ name: ".concat(ts.unescapeLeadingUnderscores(symbol.escapedName), "; flags: ").concat(formatSymbolFlags(symbol.flags), "; declarations: ").concat(ts.map(symbol.declarations, function (node) { return formatSyntaxKind(node.kind); }), " }");
2082
2082
  }
2083
2083
  Debug.formatSymbol = formatSymbol;
2084
2084
  function formatEnum(value, enumObject, isFlags) {
@@ -2096,7 +2096,7 @@ var ts;
2096
2096
  break;
2097
2097
  }
2098
2098
  if (enumValue !== 0 && enumValue & value) {
2099
- result = "" + result + (result ? "|" : "") + enumName;
2099
+ result = "".concat(result).concat(result ? "|" : "").concat(enumName);
2100
2100
  remainingFlags &= ~enumValue;
2101
2101
  }
2102
2102
  }
@@ -2205,7 +2205,7 @@ var ts;
2205
2205
  this.flags & 1 ? "FlowUnreachable" :
2206
2206
  "UnknownFlow";
2207
2207
  var remainingFlags = this.flags & ~(2048 - 1);
2208
- return "" + flowHeader + (remainingFlags ? " (" + formatFlowFlags(remainingFlags) + ")" : "");
2208
+ return "".concat(flowHeader).concat(remainingFlags ? " (".concat(formatFlowFlags(remainingFlags), ")") : "");
2209
2209
  }
2210
2210
  },
2211
2211
  __debugFlowFlags: { get: function () { return formatEnum(this.flags, ts.FlowFlags, true); } },
@@ -2235,7 +2235,7 @@ var ts;
2235
2235
  __tsDebuggerDisplay: {
2236
2236
  value: function (defaultValue) {
2237
2237
  defaultValue = String(defaultValue).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/, "]");
2238
- return "NodeArray " + defaultValue;
2238
+ return "NodeArray ".concat(defaultValue);
2239
2239
  }
2240
2240
  }
2241
2241
  });
@@ -2281,7 +2281,7 @@ var ts;
2281
2281
  var symbolHeader = this.flags & 33554432 ? "TransientSymbol" :
2282
2282
  "Symbol";
2283
2283
  var remainingSymbolFlags = this.flags & ~33554432;
2284
- return symbolHeader + " '" + ts.symbolName(this) + "'" + (remainingSymbolFlags ? " (" + formatSymbolFlags(remainingSymbolFlags) + ")" : "");
2284
+ return "".concat(symbolHeader, " '").concat(ts.symbolName(this), "'").concat(remainingSymbolFlags ? " (".concat(formatSymbolFlags(remainingSymbolFlags), ")") : "");
2285
2285
  }
2286
2286
  },
2287
2287
  __debugFlags: { get: function () { return formatSymbolFlags(this.flags); } }
@@ -2290,11 +2290,11 @@ var ts;
2290
2290
  __tsDebuggerDisplay: {
2291
2291
  value: function () {
2292
2292
  var typeHeader = this.flags & 98304 ? "NullableType" :
2293
- this.flags & 384 ? "LiteralType " + JSON.stringify(this.value) :
2294
- this.flags & 2048 ? "LiteralType " + (this.value.negative ? "-" : "") + this.value.base10Value + "n" :
2293
+ this.flags & 384 ? "LiteralType ".concat(JSON.stringify(this.value)) :
2294
+ this.flags & 2048 ? "LiteralType ".concat(this.value.negative ? "-" : "").concat(this.value.base10Value, "n") :
2295
2295
  this.flags & 8192 ? "UniqueESSymbolType" :
2296
2296
  this.flags & 32 ? "EnumType" :
2297
- this.flags & 67359327 ? "IntrinsicType " + this.intrinsicName :
2297
+ this.flags & 67359327 ? "IntrinsicType ".concat(this.intrinsicName) :
2298
2298
  this.flags & 1048576 ? "UnionType" :
2299
2299
  this.flags & 2097152 ? "IntersectionType" :
2300
2300
  this.flags & 4194304 ? "IndexType" :
@@ -2313,7 +2313,7 @@ var ts;
2313
2313
  "ObjectType" :
2314
2314
  "Type";
2315
2315
  var remainingObjectFlags = this.flags & 524288 ? this.objectFlags & ~1343 : 0;
2316
- return "" + typeHeader + (this.symbol ? " '" + ts.symbolName(this.symbol) + "'" : "") + (remainingObjectFlags ? " (" + formatObjectFlags(remainingObjectFlags) + ")" : "");
2316
+ return "".concat(typeHeader).concat(this.symbol ? " '".concat(ts.symbolName(this.symbol), "'") : "").concat(remainingObjectFlags ? " (".concat(formatObjectFlags(remainingObjectFlags), ")") : "");
2317
2317
  }
2318
2318
  },
2319
2319
  __debugFlags: { get: function () { return formatTypeFlags(this.flags); } },
@@ -2347,11 +2347,11 @@ var ts;
2347
2347
  __tsDebuggerDisplay: {
2348
2348
  value: function () {
2349
2349
  var nodeHeader = ts.isGeneratedIdentifier(this) ? "GeneratedIdentifier" :
2350
- ts.isIdentifier(this) ? "Identifier '" + ts.idText(this) + "'" :
2351
- ts.isPrivateIdentifier(this) ? "PrivateIdentifier '" + ts.idText(this) + "'" :
2352
- ts.isStringLiteral(this) ? "StringLiteral " + JSON.stringify(this.text.length < 10 ? this.text : this.text.slice(10) + "...") :
2353
- ts.isNumericLiteral(this) ? "NumericLiteral " + this.text :
2354
- ts.isBigIntLiteral(this) ? "BigIntLiteral " + this.text + "n" :
2350
+ ts.isIdentifier(this) ? "Identifier '".concat(ts.idText(this), "'") :
2351
+ ts.isPrivateIdentifier(this) ? "PrivateIdentifier '".concat(ts.idText(this), "'") :
2352
+ ts.isStringLiteral(this) ? "StringLiteral ".concat(JSON.stringify(this.text.length < 10 ? this.text : this.text.slice(10) + "...")) :
2353
+ ts.isNumericLiteral(this) ? "NumericLiteral ".concat(this.text) :
2354
+ ts.isBigIntLiteral(this) ? "BigIntLiteral ".concat(this.text, "n") :
2355
2355
  ts.isTypeParameterDeclaration(this) ? "TypeParameterDeclaration" :
2356
2356
  ts.isParameter(this) ? "ParameterDeclaration" :
2357
2357
  ts.isConstructorDeclaration(this) ? "ConstructorDeclaration" :
@@ -2383,7 +2383,7 @@ var ts;
2383
2383
  ts.isNamedTupleMember(this) ? "NamedTupleMember" :
2384
2384
  ts.isImportTypeNode(this) ? "ImportTypeNode" :
2385
2385
  formatSyntaxKind(this.kind);
2386
- return "" + nodeHeader + (this.flags ? " (" + formatNodeFlags(this.flags) + ")" : "");
2386
+ return "".concat(nodeHeader).concat(this.flags ? " (".concat(formatNodeFlags(this.flags), ")") : "");
2387
2387
  }
2388
2388
  },
2389
2389
  __debugKind: { get: function () { return formatSyntaxKind(this.kind); } },
@@ -2427,10 +2427,10 @@ var ts;
2427
2427
  Debug.enableDebugInfo = enableDebugInfo;
2428
2428
  function formatDeprecationMessage(name, error, errorAfter, since, message) {
2429
2429
  var deprecationMessage = error ? "DeprecationError: " : "DeprecationWarning: ";
2430
- deprecationMessage += "'" + name + "' ";
2431
- deprecationMessage += since ? "has been deprecated since v" + since : "is deprecated";
2432
- deprecationMessage += error ? " and can no longer be used." : errorAfter ? " and will no longer be usable after v" + errorAfter + "." : ".";
2433
- deprecationMessage += message ? " " + ts.formatStringFromArgs(message, [name], 0) : "";
2430
+ deprecationMessage += "'".concat(name, "' ");
2431
+ deprecationMessage += since ? "has been deprecated since v".concat(since) : "is deprecated";
2432
+ deprecationMessage += error ? " and can no longer be used." : errorAfter ? " and will no longer be usable after v".concat(errorAfter, ".") : ".";
2433
+ deprecationMessage += message ? " ".concat(ts.formatStringFromArgs(message, [name], 0)) : "";
2434
2434
  return deprecationMessage;
2435
2435
  }
2436
2436
  function createErrorDeprecation(name, errorAfter, since, message) {
@@ -2527,11 +2527,11 @@ var ts;
2527
2527
  }
2528
2528
  };
2529
2529
  Version.prototype.toString = function () {
2530
- var result = this.major + "." + this.minor + "." + this.patch;
2530
+ var result = "".concat(this.major, ".").concat(this.minor, ".").concat(this.patch);
2531
2531
  if (ts.some(this.prerelease))
2532
- result += "-" + this.prerelease.join(".");
2532
+ result += "-".concat(this.prerelease.join("."));
2533
2533
  if (ts.some(this.build))
2534
- result += "+" + this.build.join(".");
2534
+ result += "+".concat(this.build.join("."));
2535
2535
  return result;
2536
2536
  };
2537
2537
  Version.zero = new Version(0, 0, 0);
@@ -2753,7 +2753,7 @@ var ts;
2753
2753
  return ts.map(comparators, formatComparator).join(" ");
2754
2754
  }
2755
2755
  function formatComparator(comparator) {
2756
- return "" + comparator.operator + comparator.operand;
2756
+ return "".concat(comparator.operator).concat(comparator.operand);
2757
2757
  }
2758
2758
  })(ts || (ts = {}));
2759
2759
  var ts;
@@ -2982,7 +2982,7 @@ var ts;
2982
2982
  fs = require("fs");
2983
2983
  }
2984
2984
  catch (e) {
2985
- throw new Error("tracing requires having fs\n(original error: " + (e.message || e) + ")");
2985
+ throw new Error("tracing requires having fs\n(original error: ".concat(e.message || e, ")"));
2986
2986
  }
2987
2987
  }
2988
2988
  mode = tracingMode;
@@ -2993,11 +2993,11 @@ var ts;
2993
2993
  if (!fs.existsSync(traceDir)) {
2994
2994
  fs.mkdirSync(traceDir, { recursive: true });
2995
2995
  }
2996
- var countPart = mode === "build" ? "." + process.pid + "-" + ++traceCount
2997
- : mode === "server" ? "." + process.pid
2996
+ var countPart = mode === "build" ? ".".concat(process.pid, "-").concat(++traceCount)
2997
+ : mode === "server" ? ".".concat(process.pid)
2998
2998
  : "";
2999
- var tracePath = ts.combinePaths(traceDir, "trace" + countPart + ".json");
3000
- var typesPath = ts.combinePaths(traceDir, "types" + countPart + ".json");
2999
+ var tracePath = ts.combinePaths(traceDir, "trace".concat(countPart, ".json"));
3000
+ var typesPath = ts.combinePaths(traceDir, "types".concat(countPart, ".json"));
3001
3001
  legend.push({
3002
3002
  configFilePath: configFilePath,
3003
3003
  tracePath: tracePath,
@@ -3065,7 +3065,7 @@ var ts;
3065
3065
  writeEvent("E", phase, name, args, undefined, endTime);
3066
3066
  }
3067
3067
  else if (sampleInterval - (time % sampleInterval) <= endTime - time) {
3068
- writeEvent("X", phase, name, args, "\"dur\":" + (endTime - time), time);
3068
+ writeEvent("X", phase, name, args, "\"dur\":".concat(endTime - time), time);
3069
3069
  }
3070
3070
  }
3071
3071
  function writeEvent(eventType, phase, name, args, extras, time) {
@@ -3073,11 +3073,11 @@ var ts;
3073
3073
  if (mode === "server" && phase === "checkTypes")
3074
3074
  return;
3075
3075
  ts.performance.mark("beginTracing");
3076
- fs.writeSync(traceFd, ",\n{\"pid\":1,\"tid\":1,\"ph\":\"" + eventType + "\",\"cat\":\"" + phase + "\",\"ts\":" + time + ",\"name\":\"" + name + "\"");
3076
+ fs.writeSync(traceFd, ",\n{\"pid\":1,\"tid\":1,\"ph\":\"".concat(eventType, "\",\"cat\":\"").concat(phase, "\",\"ts\":").concat(time, ",\"name\":\"").concat(name, "\""));
3077
3077
  if (extras)
3078
- fs.writeSync(traceFd, "," + extras);
3078
+ fs.writeSync(traceFd, ",".concat(extras));
3079
3079
  if (args)
3080
- fs.writeSync(traceFd, ",\"args\":" + JSON.stringify(args));
3080
+ fs.writeSync(traceFd, ",\"args\":".concat(JSON.stringify(args)));
3081
3081
  fs.writeSync(traceFd, "}");
3082
3082
  ts.performance.mark("endTracing");
3083
3083
  ts.performance.measure("Tracing", "beginTracing", "endTracing");
@@ -3882,7 +3882,7 @@ var ts;
3882
3882
  pollingChunkSize = getCustomPollingBasedLevels("TSC_WATCH_POLLINGCHUNKSIZE", defaultChunkLevels) || pollingChunkSize;
3883
3883
  ts.unchangedPollThresholds = getCustomPollingBasedLevels("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS", defaultChunkLevels) || ts.unchangedPollThresholds;
3884
3884
  function getLevel(envVar, level) {
3885
- return system.getEnvironmentVariable(envVar + "_" + level.toUpperCase());
3885
+ return system.getEnvironmentVariable("".concat(envVar, "_").concat(level.toUpperCase()));
3886
3886
  }
3887
3887
  function getCustomLevels(baseVariable) {
3888
3888
  var customLevels;
@@ -4302,7 +4302,7 @@ var ts;
4302
4302
  }
4303
4303
  function onTimerToUpdateChildWatches() {
4304
4304
  timerToUpdateChildWatches = undefined;
4305
- ts.sysLog("sysLog:: onTimerToUpdateChildWatches:: " + cacheToUpdateChildWatches.size);
4305
+ ts.sysLog("sysLog:: onTimerToUpdateChildWatches:: ".concat(cacheToUpdateChildWatches.size));
4306
4306
  var start = ts.timestamp();
4307
4307
  var invokeMap = new ts.Map();
4308
4308
  while (!timerToUpdateChildWatches && cacheToUpdateChildWatches.size) {
@@ -4313,7 +4313,7 @@ var ts;
4313
4313
  var hasChanges = updateChildWatches(dirName, dirPath, options);
4314
4314
  invokeCallbacks(dirPath, invokeMap, hasChanges ? undefined : fileNames);
4315
4315
  }
4316
- ts.sysLog("sysLog:: invokingWatchers:: Elapsed:: " + (ts.timestamp() - start) + "ms:: " + cacheToUpdateChildWatches.size);
4316
+ ts.sysLog("sysLog:: invokingWatchers:: Elapsed:: ".concat(ts.timestamp() - start, "ms:: ").concat(cacheToUpdateChildWatches.size));
4317
4317
  callbackCache.forEach(function (callbacks, rootDirName) {
4318
4318
  var existing = invokeMap.get(rootDirName);
4319
4319
  if (existing) {
@@ -4329,7 +4329,7 @@ var ts;
4329
4329
  }
4330
4330
  });
4331
4331
  var elapsed = ts.timestamp() - start;
4332
- ts.sysLog("sysLog:: Elapsed:: " + elapsed + "ms:: onTimerToUpdateChildWatches:: " + cacheToUpdateChildWatches.size + " " + timerToUpdateChildWatches);
4332
+ ts.sysLog("sysLog:: Elapsed:: ".concat(elapsed, "ms:: onTimerToUpdateChildWatches:: ").concat(cacheToUpdateChildWatches.size, " ").concat(timerToUpdateChildWatches));
4333
4333
  }
4334
4334
  function removeChildWatches(parentWatcher) {
4335
4335
  if (!parentWatcher)
@@ -4721,7 +4721,7 @@ var ts;
4721
4721
  var externalFileCounter = 0;
4722
4722
  var remappedPaths = new ts.Map();
4723
4723
  var normalizedDir = ts.normalizeSlashes(__dirname);
4724
- var fileUrlRoot = "file://" + (ts.getRootLength(normalizedDir) === 1 ? "" : "/") + normalizedDir;
4724
+ var fileUrlRoot = "file://".concat(ts.getRootLength(normalizedDir) === 1 ? "" : "/").concat(normalizedDir);
4725
4725
  for (var _i = 0, _a = profile.nodes; _i < _a.length; _i++) {
4726
4726
  var node = _a[_i];
4727
4727
  if (node.callFrame.url) {
@@ -4730,7 +4730,7 @@ var ts;
4730
4730
  node.callFrame.url = ts.getRelativePathToDirectoryOrUrl(fileUrlRoot, url, fileUrlRoot, ts.createGetCanonicalFileName(useCaseSensitiveFileNames), true);
4731
4731
  }
4732
4732
  else if (!nativePattern.test(url)) {
4733
- node.callFrame.url = (remappedPaths.has(url) ? remappedPaths : remappedPaths.set(url, "external" + externalFileCounter + ".js")).get(url);
4733
+ node.callFrame.url = (remappedPaths.has(url) ? remappedPaths : remappedPaths.set(url, "external".concat(externalFileCounter, ".js"))).get(url);
4734
4734
  externalFileCounter++;
4735
4735
  }
4736
4736
  }
@@ -4746,7 +4746,7 @@ var ts;
4746
4746
  if (!err) {
4747
4747
  try {
4748
4748
  if ((_b = statSync(profilePath)) === null || _b === void 0 ? void 0 : _b.isDirectory()) {
4749
- profilePath = _path.join(profilePath, (new Date()).toISOString().replace(/:/g, "-") + "+P" + process.pid + ".cpuprofile");
4749
+ profilePath = _path.join(profilePath, "".concat((new Date()).toISOString().replace(/:/g, "-"), "+P").concat(process.pid, ".cpuprofile"));
4750
4750
  }
4751
4751
  }
4752
4752
  catch (_c) {
@@ -4831,7 +4831,7 @@ var ts;
4831
4831
  }
4832
4832
  };
4833
4833
  function invokeCallbackAndUpdateWatcher(createWatcher) {
4834
- ts.sysLog("sysLog:: " + fileOrDirectory + ":: Changing watcher to " + (createWatcher === watchPresentFileSystemEntry ? "Present" : "Missing") + "FileSystemEntryWatcher");
4834
+ ts.sysLog("sysLog:: ".concat(fileOrDirectory, ":: Changing watcher to ").concat(createWatcher === watchPresentFileSystemEntry ? "Present" : "Missing", "FileSystemEntryWatcher"));
4835
4835
  callback("rename", "");
4836
4836
  if (watcher) {
4837
4837
  watcher.close();
@@ -4848,7 +4848,7 @@ var ts;
4848
4848
  }
4849
4849
  }
4850
4850
  if (hitSystemWatcherLimit) {
4851
- ts.sysLog("sysLog:: " + fileOrDirectory + ":: Defaulting to fsWatchFile");
4851
+ ts.sysLog("sysLog:: ".concat(fileOrDirectory, ":: Defaulting to fsWatchFile"));
4852
4852
  return watchPresentFileSystemEntryWithFsWatchFile();
4853
4853
  }
4854
4854
  try {
@@ -4860,7 +4860,7 @@ var ts;
4860
4860
  }
4861
4861
  catch (e) {
4862
4862
  hitSystemWatcherLimit || (hitSystemWatcherLimit = e.code === "ENOSPC");
4863
- ts.sysLog("sysLog:: " + fileOrDirectory + ":: Changing to fsWatchFile");
4863
+ ts.sysLog("sysLog:: ".concat(fileOrDirectory, ":: Changing to fsWatchFile"));
4864
4864
  return watchPresentFileSystemEntryWithFsWatchFile();
4865
4865
  }
4866
4866
  }
@@ -4976,7 +4976,7 @@ var ts;
4976
4976
  }
4977
4977
  }
4978
4978
  function readDirectory(path, extensions, excludes, includes, depth) {
4979
- return ts.matchFiles(path, extensions, excludes, includes, useCaseSensitiveFileNames, process.cwd(), depth, getAccessibleFileSystemEntries, realpath, directoryExists);
4979
+ return ts.matchFiles(path, extensions, excludes, includes, useCaseSensitiveFileNames, process.cwd(), depth, getAccessibleFileSystemEntries, realpath);
4980
4980
  }
4981
4981
  function fileSystemEntryExists(path, entryKind) {
4982
4982
  var originalStackTraceLimit = Error.stackTraceLimit;
@@ -7066,7 +7066,7 @@ var ts;
7066
7066
  line = line < 0 ? 0 : line >= lineStarts.length ? lineStarts.length - 1 : line;
7067
7067
  }
7068
7068
  else {
7069
- ts.Debug.fail("Bad line number. Line: " + line + ", lineStarts.length: " + lineStarts.length + " , line map is correct? " + (debugText !== undefined ? ts.arraysEqual(lineStarts, computeLineStarts(debugText)) : "unknown"));
7069
+ ts.Debug.fail("Bad line number. Line: ".concat(line, ", lineStarts.length: ").concat(lineStarts.length, " , line map is correct? ").concat(debugText !== undefined ? ts.arraysEqual(lineStarts, computeLineStarts(debugText)) : "unknown"));
7070
7070
  }
7071
7071
  }
7072
7072
  var res = lineStarts[line] + character;
@@ -9570,7 +9570,7 @@ var ts;
9570
9570
  function getTextOfJSDocComment(comment) {
9571
9571
  return typeof comment === "string" ? comment
9572
9572
  : comment === null || comment === void 0 ? void 0 : comment.map(function (c) {
9573
- return c.kind === 319 ? c.text : "{@link " + (c.name ? ts.entityNameToString(c.name) + " " : "") + c.text + "}";
9573
+ return c.kind === 319 ? c.text : "{@link ".concat(c.name ? ts.entityNameToString(c.name) + " " : "").concat(c.text, "}");
9574
9574
  }).join("");
9575
9575
  }
9576
9576
  ts.getTextOfJSDocComment = getTextOfJSDocComment;
@@ -10670,8 +10670,8 @@ var ts;
10670
10670
  }
10671
10671
  function packageIdToString(_a) {
10672
10672
  var name = _a.name, subModuleName = _a.subModuleName, version = _a.version;
10673
- var fullName = subModuleName ? name + "/" + subModuleName : name;
10674
- return fullName + "@" + version;
10673
+ var fullName = subModuleName ? "".concat(name, "/").concat(subModuleName) : name;
10674
+ return "".concat(fullName, "@").concat(version);
10675
10675
  }
10676
10676
  ts.packageIdToString = packageIdToString;
10677
10677
  function typeDirectiveIsEqualTo(oldResolution, newResolution) {
@@ -10741,7 +10741,7 @@ var ts;
10741
10741
  function nodePosToString(node) {
10742
10742
  var file = getSourceFileOfNode(node);
10743
10743
  var loc = ts.getLineAndCharacterOfPosition(file, node.pos);
10744
- return file.fileName + "(" + (loc.line + 1) + "," + (loc.character + 1) + ")";
10744
+ return "".concat(file.fileName, "(").concat(loc.line + 1, ",").concat(loc.character + 1, ")");
10745
10745
  }
10746
10746
  ts.nodePosToString = nodePosToString;
10747
10747
  function getEndLinePosition(line, sourceFile) {
@@ -10842,7 +10842,7 @@ var ts;
10842
10842
  ts.isPinnedComment = isPinnedComment;
10843
10843
  function createCommentDirectivesMap(sourceFile, commentDirectives) {
10844
10844
  var directivesByLine = new ts.Map(commentDirectives.map(function (commentDirective) { return ([
10845
- "" + ts.getLineAndCharacterOfPosition(sourceFile, commentDirective.range.end).line,
10845
+ "".concat(ts.getLineAndCharacterOfPosition(sourceFile, commentDirective.range.end).line),
10846
10846
  commentDirective,
10847
10847
  ]); }));
10848
10848
  var usedLines = new ts.Map();
@@ -10859,10 +10859,10 @@ var ts;
10859
10859
  });
10860
10860
  }
10861
10861
  function markUsed(line) {
10862
- if (!directivesByLine.has("" + line)) {
10862
+ if (!directivesByLine.has("".concat(line))) {
10863
10863
  return false;
10864
10864
  }
10865
- usedLines.set("" + line, true);
10865
+ usedLines.set("".concat(line), true);
10866
10866
  return true;
10867
10867
  }
10868
10868
  }
@@ -11046,7 +11046,7 @@ var ts;
11046
11046
  }
11047
11047
  return node.text;
11048
11048
  }
11049
- return ts.Debug.fail("Literal kind '" + node.kind + "' not accounted for.");
11049
+ return ts.Debug.fail("Literal kind '".concat(node.kind, "' not accounted for."));
11050
11050
  }
11051
11051
  ts.getLiteralText = getLiteralText;
11052
11052
  function canUseOriginalText(node, flags) {
@@ -13340,11 +13340,11 @@ var ts;
13340
13340
  }
13341
13341
  ts.getEscapedTextOfIdentifierOrLiteral = getEscapedTextOfIdentifierOrLiteral;
13342
13342
  function getPropertyNameForUniqueESSymbol(symbol) {
13343
- return "__@" + ts.getSymbolId(symbol) + "@" + symbol.escapedName;
13343
+ return "__@".concat(ts.getSymbolId(symbol), "@").concat(symbol.escapedName);
13344
13344
  }
13345
13345
  ts.getPropertyNameForUniqueESSymbol = getPropertyNameForUniqueESSymbol;
13346
13346
  function getSymbolNameForPrivateIdentifier(containingClassSymbol, description) {
13347
- return "__#" + ts.getSymbolId(containingClassSymbol) + "@" + description;
13347
+ return "__#".concat(ts.getSymbolId(containingClassSymbol), "@").concat(description);
13348
13348
  }
13349
13349
  ts.getSymbolNameForPrivateIdentifier = getSymbolNameForPrivateIdentifier;
13350
13350
  function isKnownSymbol(symbol) {
@@ -15634,7 +15634,7 @@ var ts;
15634
15634
  }
15635
15635
  ts.getJSXImplicitImportBase = getJSXImplicitImportBase;
15636
15636
  function getJSXRuntimeImport(base, options) {
15637
- return base ? base + "/" + (options.jsx === 5 ? "jsx-dev-runtime" : "jsx-runtime") : undefined;
15637
+ return base ? "".concat(base, "/").concat(options.jsx === 5 ? "jsx-dev-runtime" : "jsx-runtime") : undefined;
15638
15638
  }
15639
15639
  ts.getJSXRuntimeImport = getJSXRuntimeImport;
15640
15640
  function hasZeroOrOneAsteriskCharacter(str) {
@@ -15742,15 +15742,15 @@ var ts;
15742
15742
  }
15743
15743
  var wildcardCharCodes = [42, 63];
15744
15744
  ts.commonPackageFolders = ["node_modules", "bower_components", "jspm_packages"];
15745
- var implicitExcludePathRegexPattern = "(?!(" + ts.commonPackageFolders.join("|") + ")(/|$))";
15745
+ var implicitExcludePathRegexPattern = "(?!(".concat(ts.commonPackageFolders.join("|"), ")(/|$))");
15746
15746
  var filesMatcher = {
15747
15747
  singleAsteriskRegexFragment: "([^./]|(\\.(?!min\\.js$))?)*",
15748
- doubleAsteriskRegexFragment: "(/" + implicitExcludePathRegexPattern + "[^/.][^/]*)*?",
15748
+ doubleAsteriskRegexFragment: "(/".concat(implicitExcludePathRegexPattern, "[^/.][^/]*)*?"),
15749
15749
  replaceWildcardCharacter: function (match) { return replaceWildcardCharacter(match, filesMatcher.singleAsteriskRegexFragment); }
15750
15750
  };
15751
15751
  var directoriesMatcher = {
15752
15752
  singleAsteriskRegexFragment: "[^/]*",
15753
- doubleAsteriskRegexFragment: "(/" + implicitExcludePathRegexPattern + "[^/.][^/]*)*?",
15753
+ doubleAsteriskRegexFragment: "(/".concat(implicitExcludePathRegexPattern, "[^/.][^/]*)*?"),
15754
15754
  replaceWildcardCharacter: function (match) { return replaceWildcardCharacter(match, directoriesMatcher.singleAsteriskRegexFragment); }
15755
15755
  };
15756
15756
  var excludeMatcher = {
@@ -15768,9 +15768,9 @@ var ts;
15768
15768
  if (!patterns || !patterns.length) {
15769
15769
  return undefined;
15770
15770
  }
15771
- var pattern = patterns.map(function (pattern) { return "(" + pattern + ")"; }).join("|");
15771
+ var pattern = patterns.map(function (pattern) { return "(".concat(pattern, ")"); }).join("|");
15772
15772
  var terminator = usage === "exclude" ? "($|/)" : "$";
15773
- return "^(" + pattern + ")" + terminator;
15773
+ return "^(".concat(pattern, ")").concat(terminator);
15774
15774
  }
15775
15775
  ts.getRegularExpressionForWildcard = getRegularExpressionForWildcard;
15776
15776
  function getRegularExpressionsForWildcards(specs, basePath, usage) {
@@ -15788,7 +15788,7 @@ var ts;
15788
15788
  ts.isImplicitGlob = isImplicitGlob;
15789
15789
  function getPatternFromSpec(spec, basePath, usage) {
15790
15790
  var pattern = spec && getSubPatternFromSpec(spec, basePath, usage, wildcardMatchers[usage]);
15791
- return pattern && "^(" + pattern + ")" + (usage === "exclude" ? "($|/)" : "$");
15791
+ return pattern && "^(".concat(pattern, ")").concat(usage === "exclude" ? "($|/)" : "$");
15792
15792
  }
15793
15793
  ts.getPatternFromSpec = getPatternFromSpec;
15794
15794
  function getSubPatternFromSpec(spec, basePath, usage, _a) {
@@ -15854,11 +15854,11 @@ var ts;
15854
15854
  currentDirectory = ts.normalizePath(currentDirectory);
15855
15855
  var absolutePath = ts.combinePaths(currentDirectory, path);
15856
15856
  return {
15857
- includeFilePatterns: ts.map(getRegularExpressionsForWildcards(includes, absolutePath, "files"), function (pattern) { return "^" + pattern + "$"; }),
15857
+ includeFilePatterns: ts.map(getRegularExpressionsForWildcards(includes, absolutePath, "files"), function (pattern) { return "^".concat(pattern, "$"); }),
15858
15858
  includeFilePattern: getRegularExpressionForWildcard(includes, absolutePath, "files"),
15859
15859
  includeDirectoryPattern: getRegularExpressionForWildcard(includes, absolutePath, "directories"),
15860
15860
  excludePattern: getRegularExpressionForWildcard(excludes, absolutePath, "exclude"),
15861
- basePaths: getBasePaths(absolutePath, includes, useCaseSensitiveFileNames)
15861
+ basePaths: getBasePaths(path, includes, useCaseSensitiveFileNames)
15862
15862
  };
15863
15863
  }
15864
15864
  ts.getFileMatcherPatterns = getFileMatcherPatterns;
@@ -15866,7 +15866,7 @@ var ts;
15866
15866
  return new RegExp(pattern, useCaseSensitiveFileNames ? "" : "i");
15867
15867
  }
15868
15868
  ts.getRegexFromPattern = getRegexFromPattern;
15869
- function matchFiles(path, extensions, excludes, includes, useCaseSensitiveFileNames, currentDirectory, depth, getFileSystemEntries, realpath, directoryExists) {
15869
+ function matchFiles(path, extensions, excludes, includes, useCaseSensitiveFileNames, currentDirectory, depth, getFileSystemEntries, realpath) {
15870
15870
  path = ts.normalizePath(path);
15871
15871
  currentDirectory = ts.normalizePath(currentDirectory);
15872
15872
  var patterns = getFileMatcherPatterns(path, excludes, includes, useCaseSensitiveFileNames, currentDirectory);
@@ -15877,20 +15877,18 @@ var ts;
15877
15877
  var visited = new ts.Map();
15878
15878
  var toCanonical = ts.createGetCanonicalFileName(useCaseSensitiveFileNames);
15879
15879
  for (var _i = 0, _a = patterns.basePaths; _i < _a.length; _i++) {
15880
- var absoluteBasePath = _a[_i];
15881
- if (directoryExists(absoluteBasePath)) {
15882
- visitDirectory(absoluteBasePath, depth);
15883
- }
15880
+ var basePath = _a[_i];
15881
+ visitDirectory(basePath, ts.combinePaths(currentDirectory, basePath), depth);
15884
15882
  }
15885
15883
  return ts.flatten(results);
15886
- function visitDirectory(absolutePath, depth) {
15884
+ function visitDirectory(path, absolutePath, depth) {
15887
15885
  var canonicalPath = toCanonical(realpath(absolutePath));
15888
15886
  if (visited.has(canonicalPath))
15889
15887
  return;
15890
15888
  visited.set(canonicalPath, true);
15891
- var _a = getFileSystemEntries(absolutePath), files = _a.files, directories = _a.directories;
15889
+ var _a = getFileSystemEntries(path), files = _a.files, directories = _a.directories;
15892
15890
  var _loop_1 = function (current) {
15893
- var name = ts.combinePaths(absolutePath, current);
15891
+ var name = ts.combinePaths(path, current);
15894
15892
  var absoluteName = ts.combinePaths(absolutePath, current);
15895
15893
  if (extensions && !ts.fileExtensionIsOneOf(name, extensions))
15896
15894
  return "continue";
@@ -15918,27 +15916,28 @@ var ts;
15918
15916
  }
15919
15917
  for (var _c = 0, _d = ts.sort(directories, ts.compareStringsCaseSensitive); _c < _d.length; _c++) {
15920
15918
  var current = _d[_c];
15919
+ var name = ts.combinePaths(path, current);
15921
15920
  var absoluteName = ts.combinePaths(absolutePath, current);
15922
15921
  if ((!includeDirectoryRegex || includeDirectoryRegex.test(absoluteName)) &&
15923
15922
  (!excludeRegex || !excludeRegex.test(absoluteName))) {
15924
- visitDirectory(absoluteName, depth);
15923
+ visitDirectory(name, absoluteName, depth);
15925
15924
  }
15926
15925
  }
15927
15926
  }
15928
15927
  }
15929
15928
  ts.matchFiles = matchFiles;
15930
- function getBasePaths(absoluteTsconfigPath, includes, useCaseSensitiveFileNames) {
15931
- var basePaths = [absoluteTsconfigPath];
15929
+ function getBasePaths(path, includes, useCaseSensitiveFileNames) {
15930
+ var basePaths = [path];
15932
15931
  if (includes) {
15933
15932
  var includeBasePaths = [];
15934
15933
  for (var _i = 0, includes_1 = includes; _i < includes_1.length; _i++) {
15935
15934
  var include = includes_1[_i];
15936
- var absoluteIncludePath = ts.isRootedDiskPath(include) ? include : ts.normalizePath(ts.combinePaths(absoluteTsconfigPath, include));
15937
- includeBasePaths.push(getIncludeBasePath(absoluteIncludePath));
15935
+ var absolute = ts.isRootedDiskPath(include) ? include : ts.normalizePath(ts.combinePaths(path, include));
15936
+ includeBasePaths.push(getIncludeBasePath(absolute));
15938
15937
  }
15939
15938
  includeBasePaths.sort(ts.getStringComparer(!useCaseSensitiveFileNames));
15940
15939
  var _loop_2 = function (includeBasePath) {
15941
- if (ts.every(basePaths, function (basePath) { return !ts.containsPath(basePath, includeBasePath, absoluteTsconfigPath, !useCaseSensitiveFileNames); })) {
15940
+ if (ts.every(basePaths, function (basePath) { return !ts.containsPath(basePath, includeBasePath, path, !useCaseSensitiveFileNames); })) {
15942
15941
  basePaths.push(includeBasePath);
15943
15942
  }
15944
15943
  };
@@ -16100,7 +16099,7 @@ var ts;
16100
16099
  ts.resolutionExtensionIsTSOrJson = resolutionExtensionIsTSOrJson;
16101
16100
  function extensionFromPath(path) {
16102
16101
  var ext = tryGetExtensionFromPath(path);
16103
- return ext !== undefined ? ext : ts.Debug.fail("File " + path + " has unknown extension.");
16102
+ return ext !== undefined ? ext : ts.Debug.fail("File ".concat(path, " has unknown extension."));
16104
16103
  }
16105
16104
  ts.extensionFromPath = extensionFromPath;
16106
16105
  function isAnySupportedFileExtension(path) {
@@ -21110,7 +21109,7 @@ var ts;
21110
21109
  case 326: return "augments";
21111
21110
  case 327: return "implements";
21112
21111
  default:
21113
- return ts.Debug.fail("Unsupported kind: " + ts.Debug.formatSyntaxKind(kind));
21112
+ return ts.Debug.fail("Unsupported kind: ".concat(ts.Debug.formatSyntaxKind(kind)));
21114
21113
  }
21115
21114
  }
21116
21115
  var rawTextScanner;
@@ -21429,7 +21428,7 @@ var ts;
21429
21428
  };
21430
21429
  var definedTextGetter_1 = function (path) {
21431
21430
  var result = textGetter_1(path);
21432
- return result !== undefined ? result : "/* Input file " + path + " was missing */\r\n";
21431
+ return result !== undefined ? result : "/* Input file ".concat(path, " was missing */\r\n");
21433
21432
  };
21434
21433
  var buildInfo_1;
21435
21434
  var getAndCacheBuildInfo_1 = function (getText) {
@@ -25091,7 +25090,7 @@ var ts;
25091
25090
  for (var _i = 0, viableKeywordSuggestions_1 = viableKeywordSuggestions; _i < viableKeywordSuggestions_1.length; _i++) {
25092
25091
  var keyword = viableKeywordSuggestions_1[_i];
25093
25092
  if (expressionText.length > keyword.length + 2 && ts.startsWith(expressionText, keyword)) {
25094
- return keyword + " " + expressionText.slice(keyword.length);
25093
+ return "".concat(keyword, " ").concat(expressionText.slice(keyword.length));
25095
25094
  }
25096
25095
  }
25097
25096
  return undefined;
@@ -30595,7 +30594,7 @@ var ts;
30595
30594
  if (namedArgRegExCache.has(name)) {
30596
30595
  return namedArgRegExCache.get(name);
30597
30596
  }
30598
- var result = new RegExp("(\\s" + name + "\\s*=\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))", "im");
30597
+ var result = new RegExp("(\\s".concat(name, "\\s*=\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))"), "im");
30599
30598
  namedArgRegExCache.set(name, result);
30600
30599
  return result;
30601
30600
  }
@@ -31989,8 +31988,8 @@ var ts;
31989
31988
  }
31990
31989
  ts.createCompilerDiagnosticForInvalidCustomType = createCompilerDiagnosticForInvalidCustomType;
31991
31990
  function createDiagnosticForInvalidCustomType(opt, createDiagnostic) {
31992
- var namesOfType = ts.arrayFrom(opt.type.keys()).map(function (key) { return "'" + key + "'"; }).join(", ");
31993
- return createDiagnostic(ts.Diagnostics.Argument_for_0_option_must_be_Colon_1, "--" + opt.name, namesOfType);
31991
+ var namesOfType = ts.arrayFrom(opt.type.keys()).map(function (key) { return "'".concat(key, "'"); }).join(", ");
31992
+ return createDiagnostic(ts.Diagnostics.Argument_for_0_option_must_be_Colon_1, "--".concat(opt.name), namesOfType);
31994
31993
  }
31995
31994
  function parseCustomTypeOption(opt, value, errors) {
31996
31995
  return convertJsonOptionOfCustomType(opt, ts.trimString(value || ""), errors);
@@ -32707,10 +32706,10 @@ var ts;
32707
32706
  var newValue = compilerOptionsMap.get(cmd.name);
32708
32707
  var defaultValue = getDefaultValueForOption(cmd);
32709
32708
  if (newValue !== defaultValue) {
32710
- result.push("" + tab + cmd.name + ": " + newValue);
32709
+ result.push("".concat(tab).concat(cmd.name, ": ").concat(newValue));
32711
32710
  }
32712
32711
  else if (ts.hasProperty(ts.defaultInitCompilerOptions, cmd.name)) {
32713
- result.push("" + tab + cmd.name + ": " + defaultValue);
32712
+ result.push("".concat(tab).concat(cmd.name, ": ").concat(defaultValue));
32714
32713
  }
32715
32714
  });
32716
32715
  return result.join(newLine) + newLine;
@@ -32748,19 +32747,19 @@ var ts;
32748
32747
  if (entries.length !== 0) {
32749
32748
  entries.push({ value: "" });
32750
32749
  }
32751
- entries.push({ value: "/* " + category + " */" });
32750
+ entries.push({ value: "/* ".concat(category, " */") });
32752
32751
  for (var _i = 0, options_1 = options; _i < options_1.length; _i++) {
32753
32752
  var option = options_1[_i];
32754
32753
  var optionName = void 0;
32755
32754
  if (compilerOptionsMap.has(option.name)) {
32756
- optionName = "\"" + option.name + "\": " + JSON.stringify(compilerOptionsMap.get(option.name)) + ((seenKnownKeys += 1) === compilerOptionsMap.size ? "" : ",");
32755
+ optionName = "\"".concat(option.name, "\": ").concat(JSON.stringify(compilerOptionsMap.get(option.name))).concat((seenKnownKeys += 1) === compilerOptionsMap.size ? "" : ",");
32757
32756
  }
32758
32757
  else {
32759
- optionName = "// \"" + option.name + "\": " + JSON.stringify(getDefaultValueForOption(option)) + ",";
32758
+ optionName = "// \"".concat(option.name, "\": ").concat(JSON.stringify(getDefaultValueForOption(option)), ",");
32760
32759
  }
32761
32760
  entries.push({
32762
32761
  value: optionName,
32763
- description: "/* " + (option.description && ts.getLocaleSpecificMessage(option.description) || option.name) + " */"
32762
+ description: "/* ".concat(option.description && ts.getLocaleSpecificMessage(option.description) || option.name, " */")
32764
32763
  });
32765
32764
  marginLength = Math.max(optionName.length, marginLength);
32766
32765
  }
@@ -32768,24 +32767,24 @@ var ts;
32768
32767
  var tab = makePadding(2);
32769
32768
  var result = [];
32770
32769
  result.push("{");
32771
- result.push(tab + "\"compilerOptions\": {");
32772
- result.push("" + tab + tab + "/* " + ts.getLocaleSpecificMessage(ts.Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file) + " */");
32770
+ result.push("".concat(tab, "\"compilerOptions\": {"));
32771
+ result.push("".concat(tab).concat(tab, "/* ").concat(ts.getLocaleSpecificMessage(ts.Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file), " */"));
32773
32772
  result.push("");
32774
32773
  for (var _a = 0, entries_2 = entries; _a < entries_2.length; _a++) {
32775
32774
  var entry = entries_2[_a];
32776
32775
  var value = entry.value, _b = entry.description, description = _b === void 0 ? "" : _b;
32777
- result.push(value && "" + tab + tab + value + (description && (makePadding(marginLength - value.length + 2) + description)));
32776
+ result.push(value && "".concat(tab).concat(tab).concat(value).concat(description && (makePadding(marginLength - value.length + 2) + description)));
32778
32777
  }
32779
32778
  if (fileNames.length) {
32780
- result.push(tab + "},");
32781
- result.push(tab + "\"files\": [");
32779
+ result.push("".concat(tab, "},"));
32780
+ result.push("".concat(tab, "\"files\": ["));
32782
32781
  for (var i = 0; i < fileNames.length; i++) {
32783
- result.push("" + tab + tab + JSON.stringify(fileNames[i]) + (i === fileNames.length - 1 ? "" : ","));
32782
+ result.push("".concat(tab).concat(tab).concat(JSON.stringify(fileNames[i])).concat(i === fileNames.length - 1 ? "" : ","));
32784
32783
  }
32785
- result.push(tab + "]");
32784
+ result.push("".concat(tab, "]"));
32786
32785
  }
32787
32786
  else {
32788
- result.push(tab + "}");
32787
+ result.push("".concat(tab, "}"));
32789
32788
  }
32790
32789
  result.push("}");
32791
32790
  return result.join(newLine) + newLine;
@@ -33135,7 +33134,7 @@ var ts;
33135
33134
  if (ts.isRootedDiskPath(extendedConfig) || ts.startsWith(extendedConfig, "./") || ts.startsWith(extendedConfig, "../")) {
33136
33135
  var extendedConfigPath = ts.getNormalizedAbsolutePath(extendedConfig, basePath);
33137
33136
  if (!host.fileExists(extendedConfigPath) && !ts.endsWith(extendedConfigPath, ".json")) {
33138
- extendedConfigPath = extendedConfigPath + ".json";
33137
+ extendedConfigPath = "".concat(extendedConfigPath, ".json");
33139
33138
  if (!host.fileExists(extendedConfigPath)) {
33140
33139
  errors.push(createDiagnostic(ts.Diagnostics.File_0_not_found, extendedConfig));
33141
33140
  return undefined;
@@ -33331,7 +33330,7 @@ var ts;
33331
33330
  if (ts.fileExtensionIs(file, ".json")) {
33332
33331
  if (!jsonOnlyIncludeRegexes) {
33333
33332
  var includes = validatedIncludeSpecs.filter(function (s) { return ts.endsWith(s, ".json"); });
33334
- var includeFilePatterns = ts.map(ts.getRegularExpressionsForWildcards(includes, basePath, "files"), function (pattern) { return "^" + pattern + "$"; });
33333
+ var includeFilePatterns = ts.map(ts.getRegularExpressionsForWildcards(includes, basePath, "files"), function (pattern) { return "^".concat(pattern, "$"); });
33335
33334
  jsonOnlyIncludeRegexes = includeFilePatterns ? includeFilePatterns.map(function (pattern) { return ts.getRegexFromPattern(pattern, host.useCaseSensitiveFileNames); }) : ts.emptyArray;
33336
33335
  }
33337
33336
  var includeIndex = ts.findIndex(jsonOnlyIncludeRegexes, function (re) { return re.test(file); });
@@ -33703,7 +33702,7 @@ var ts;
33703
33702
  var bestVersionKey = result.version, bestVersionPaths = result.paths;
33704
33703
  if (typeof bestVersionPaths !== "object") {
33705
33704
  if (state.traceEnabled) {
33706
- trace(state.host, ts.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2, "typesVersions['" + bestVersionKey + "']", "object", typeof bestVersionPaths);
33705
+ trace(state.host, ts.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2, "typesVersions['".concat(bestVersionKey, "']"), "object", typeof bestVersionPaths);
33707
33706
  }
33708
33707
  return;
33709
33708
  }
@@ -34047,7 +34046,7 @@ var ts;
34047
34046
  };
34048
34047
  return cache;
34049
34048
  function getUnderlyingCacheKey(specifier, mode) {
34050
- var result = mode === undefined ? specifier : mode + "|" + specifier;
34049
+ var result = mode === undefined ? specifier : "".concat(mode, "|").concat(specifier);
34051
34050
  memoizedReverseKeys.set(result, [specifier, mode]);
34052
34051
  return result;
34053
34052
  }
@@ -34077,7 +34076,7 @@ var ts;
34077
34076
  }
34078
34077
  function getOrCreateCacheForModuleName(nonRelativeModuleName, mode, redirectedReference) {
34079
34078
  ts.Debug.assert(!ts.isExternalModuleNameRelative(nonRelativeModuleName));
34080
- return getOrCreateCache(moduleNameToDirectoryMap, redirectedReference, mode === undefined ? nonRelativeModuleName : mode + "|" + nonRelativeModuleName, createPerModuleNameCache);
34079
+ return getOrCreateCache(moduleNameToDirectoryMap, redirectedReference, mode === undefined ? nonRelativeModuleName : "".concat(mode, "|").concat(nonRelativeModuleName), createPerModuleNameCache);
34081
34080
  }
34082
34081
  function createPerModuleNameCache() {
34083
34082
  var directoryPathMap = new ts.Map();
@@ -34205,10 +34204,10 @@ var ts;
34205
34204
  result = classicNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference);
34206
34205
  break;
34207
34206
  default:
34208
- return ts.Debug.fail("Unexpected moduleResolution: " + moduleResolution);
34207
+ return ts.Debug.fail("Unexpected moduleResolution: ".concat(moduleResolution));
34209
34208
  }
34210
34209
  if (result && result.resolvedModule)
34211
- ts.perfLogger.logInfoEvent("Module \"" + moduleName + "\" resolved to \"" + result.resolvedModule.resolvedFileName + "\"");
34210
+ ts.perfLogger.logInfoEvent("Module \"".concat(moduleName, "\" resolved to \"").concat(result.resolvedModule.resolvedFileName, "\""));
34212
34211
  ts.perfLogger.logStopResolveModule((result && result.resolvedModule) ? "" + result.resolvedModule.resolvedFileName : "null");
34213
34212
  if (perFolderCache) {
34214
34213
  perFolderCache.set(moduleName, resolutionMode, result);
@@ -34338,7 +34337,7 @@ var ts;
34338
34337
  function resolveJSModule(moduleName, initialDir, host) {
34339
34338
  var _a = tryResolveJSModuleWorker(moduleName, initialDir, host), resolvedModule = _a.resolvedModule, failedLookupLocations = _a.failedLookupLocations;
34340
34339
  if (!resolvedModule) {
34341
- throw new Error("Could not resolve JS module '" + moduleName + "' starting at '" + initialDir + "'. Looked in: " + failedLookupLocations.join(", "));
34340
+ throw new Error("Could not resolve JS module '".concat(moduleName, "' starting at '").concat(initialDir, "'. Looked in: ").concat(failedLookupLocations.join(", ")));
34342
34341
  }
34343
34342
  return resolvedModule.resolvedFileName;
34344
34343
  }
@@ -34439,7 +34438,7 @@ var ts;
34439
34438
  if (traceEnabled) {
34440
34439
  trace(host, ts.Diagnostics.Resolving_real_path_for_0_result_1, path, real);
34441
34440
  }
34442
- ts.Debug.assert(host.fileExists(real), path + " linked to nonexistent file " + real);
34441
+ ts.Debug.assert(host.fileExists(real), "".concat(path, " linked to nonexistent file ").concat(real));
34443
34442
  return real;
34444
34443
  }
34445
34444
  function nodeLoadModuleByRelativeName(extensions, candidate, onlyRecordFailures, state, considerPackageJson) {
@@ -34786,7 +34785,7 @@ var ts;
34786
34785
  return undefined;
34787
34786
  }
34788
34787
  var trailingParts = parts.slice(nameParts.length);
34789
- return loadModuleFromExports(scope, extensions, !ts.length(trailingParts) ? "." : "." + ts.directorySeparator + trailingParts.join(ts.directorySeparator), state, cache, redirectedReference);
34788
+ return loadModuleFromExports(scope, extensions, !ts.length(trailingParts) ? "." : ".".concat(ts.directorySeparator).concat(trailingParts.join(ts.directorySeparator)), state, cache, redirectedReference);
34790
34789
  }
34791
34790
  function loadModuleFromExports(scope, extensions, subpath, state, cache, redirectedReference) {
34792
34791
  if (!scope.packageJsonContent.exports) {
@@ -35098,7 +35097,7 @@ var ts;
35098
35097
  return mangled;
35099
35098
  }
35100
35099
  function getTypesPackageName(packageName) {
35101
- return "@types/" + mangleScopedPackageName(packageName);
35100
+ return "@types/".concat(mangleScopedPackageName(packageName));
35102
35101
  }
35103
35102
  ts.getTypesPackageName = getTypesPackageName;
35104
35103
  function mangleScopedPackageName(packageName) {
@@ -35424,7 +35423,7 @@ var ts;
35424
35423
  if (name) {
35425
35424
  if (ts.isAmbientModule(node)) {
35426
35425
  var moduleName = ts.getTextOfIdentifierOrLiteral(name);
35427
- return (ts.isGlobalScopeAugmentation(node) ? "__global" : "\"" + moduleName + "\"");
35426
+ return (ts.isGlobalScopeAugmentation(node) ? "__global" : "\"".concat(moduleName, "\""));
35428
35427
  }
35429
35428
  if (name.kind === 161) {
35430
35429
  var nameExpression = name.expression;
@@ -35473,7 +35472,7 @@ var ts;
35473
35472
  case 315:
35474
35473
  return (ts.isJSDocConstructSignature(node) ? "__new" : "__call");
35475
35474
  case 163:
35476
- ts.Debug.assert(node.parent.kind === 315, "Impossible parameter parent kind", function () { return "parent is: " + (ts.SyntaxKind ? ts.SyntaxKind[node.parent.kind] : node.parent.kind) + ", expected JSDocFunctionType"; });
35475
+ ts.Debug.assert(node.parent.kind === 315, "Impossible parameter parent kind", function () { return "parent is: ".concat(ts.SyntaxKind ? ts.SyntaxKind[node.parent.kind] : node.parent.kind, ", expected JSDocFunctionType"); });
35477
35476
  var functionType = node.parent;
35478
35477
  var index = functionType.parameters.indexOf(node);
35479
35478
  return "arg" + index;
@@ -35539,7 +35538,7 @@ var ts;
35539
35538
  }
35540
35539
  var relatedInformation_1 = [];
35541
35540
  if (ts.isTypeAliasDeclaration(node) && ts.nodeIsMissing(node.type) && ts.hasSyntacticModifier(node, 1) && symbol.flags & (2097152 | 788968 | 1920)) {
35542
- relatedInformation_1.push(createDiagnosticForNode(node, ts.Diagnostics.Did_you_mean_0, "export type { " + ts.unescapeLeadingUnderscores(node.name.escapedText) + " }"));
35541
+ relatedInformation_1.push(createDiagnosticForNode(node, ts.Diagnostics.Did_you_mean_0, "export type { ".concat(ts.unescapeLeadingUnderscores(node.name.escapedText), " }")));
35543
35542
  }
35544
35543
  var declarationName_1 = ts.getNameOfDeclaration(node) || node;
35545
35544
  ts.forEach(symbol.declarations, function (declaration, index) {
@@ -37358,7 +37357,7 @@ var ts;
37358
37357
  }
37359
37358
  }
37360
37359
  function bindSourceFileAsExternalModule() {
37361
- bindAnonymousDeclaration(file, 512, "\"" + ts.removeFileExtension(file.fileName) + "\"");
37360
+ bindAnonymousDeclaration(file, 512, "\"".concat(ts.removeFileExtension(file.fileName), "\""));
37362
37361
  }
37363
37362
  function bindExportAssignment(node) {
37364
37363
  if (!container.symbol || !container.symbol.exports) {
@@ -39072,7 +39071,7 @@ var ts;
39072
39071
  if (sourceSymbolFile && targetSymbolFile && amalgamatedDuplicates && !isEitherEnum && sourceSymbolFile !== targetSymbolFile) {
39073
39072
  var firstFile_1 = ts.comparePaths(sourceSymbolFile.path, targetSymbolFile.path) === -1 ? sourceSymbolFile : targetSymbolFile;
39074
39073
  var secondFile_1 = firstFile_1 === sourceSymbolFile ? targetSymbolFile : sourceSymbolFile;
39075
- var filesDuplicates = ts.getOrUpdate(amalgamatedDuplicates, firstFile_1.path + "|" + secondFile_1.path, function () {
39074
+ var filesDuplicates = ts.getOrUpdate(amalgamatedDuplicates, "".concat(firstFile_1.path, "|").concat(secondFile_1.path), function () {
39076
39075
  return ({ firstFile: firstFile_1, secondFile: secondFile_1, conflictingSymbols: new ts.Map() });
39077
39076
  });
39078
39077
  var conflictingSymbolInfo = ts.getOrUpdate(filesDuplicates.conflictingSymbols, symbolName_1, function () {
@@ -41345,7 +41344,7 @@ var ts;
41345
41344
  var links = getSymbolLinks(symbol);
41346
41345
  var cache = (links.accessibleChainCache || (links.accessibleChainCache = new ts.Map()));
41347
41346
  var firstRelevantLocation = forEachSymbolTableInScope(enclosingDeclaration, function (_, __, ___, node) { return node; });
41348
- var key = (useOnlyExternalAliasing ? 0 : 1) + "|" + (firstRelevantLocation && getNodeId(firstRelevantLocation)) + "|" + meaning;
41347
+ var key = "".concat(useOnlyExternalAliasing ? 0 : 1, "|").concat(firstRelevantLocation && getNodeId(firstRelevantLocation), "|").concat(meaning);
41349
41348
  if (cache.has(key)) {
41350
41349
  return cache.get(key);
41351
41350
  }
@@ -42112,7 +42111,7 @@ var ts;
42112
42111
  context.symbolDepth = new ts.Map();
42113
42112
  }
42114
42113
  var links = context.enclosingDeclaration && getNodeLinks(context.enclosingDeclaration);
42115
- var key = getTypeId(type) + "|" + context.flags;
42114
+ var key = "".concat(getTypeId(type), "|").concat(context.flags);
42116
42115
  if (links) {
42117
42116
  links.serializedTypes || (links.serializedTypes = new ts.Map());
42118
42117
  }
@@ -42367,7 +42366,7 @@ var ts;
42367
42366
  }
42368
42367
  }
42369
42368
  if (checkTruncationLength(context) && (i + 2 < properties.length - 1)) {
42370
- typeElements.push(ts.factory.createPropertySignature(undefined, "... " + (properties.length - i) + " more ...", undefined, undefined));
42369
+ typeElements.push(ts.factory.createPropertySignature(undefined, "... ".concat(properties.length - i, " more ..."), undefined, undefined));
42371
42370
  addPropertyToElementList(properties[properties.length - 1], context, typeElements);
42372
42371
  break;
42373
42372
  }
@@ -42475,7 +42474,7 @@ var ts;
42475
42474
  else if (types.length > 2) {
42476
42475
  return [
42477
42476
  typeToTypeNodeHelper(types[0], context),
42478
- ts.factory.createTypeReferenceNode("... " + (types.length - 2) + " more ...", undefined),
42477
+ ts.factory.createTypeReferenceNode("... ".concat(types.length - 2, " more ..."), undefined),
42479
42478
  typeToTypeNodeHelper(types[types.length - 1], context)
42480
42479
  ];
42481
42480
  }
@@ -42488,7 +42487,7 @@ var ts;
42488
42487
  var type = types_2[_i];
42489
42488
  i++;
42490
42489
  if (checkTruncationLength(context) && (i + 2 < types.length - 1)) {
42491
- result_5.push(ts.factory.createTypeReferenceNode("... " + (types.length - i) + " more ...", undefined));
42490
+ result_5.push(ts.factory.createTypeReferenceNode("... ".concat(types.length - i, " more ..."), undefined));
42492
42491
  var typeNode_1 = typeToTypeNodeHelper(types[types.length - 1], context);
42493
42492
  if (typeNode_1) {
42494
42493
  result_5.push(typeNode_1);
@@ -42953,7 +42952,7 @@ var ts;
42953
42952
  var text = rawtext;
42954
42953
  while (((_b = context.typeParameterNamesByText) === null || _b === void 0 ? void 0 : _b.has(text)) || typeParameterShadowsNameInScope(text, context, type)) {
42955
42954
  i++;
42956
- text = rawtext + "_" + i;
42955
+ text = "".concat(rawtext, "_").concat(i);
42957
42956
  }
42958
42957
  if (text !== rawtext) {
42959
42958
  result = ts.factory.createIdentifier(text, result.typeArguments);
@@ -43241,7 +43240,7 @@ var ts;
43241
43240
  function getNameForJSDocFunctionParameter(p, index) {
43242
43241
  return p.name && ts.isIdentifier(p.name) && p.name.escapedText === "this" ? "this"
43243
43242
  : getEffectiveDotDotDotForParameter(p) ? "args"
43244
- : "arg" + index;
43243
+ : "arg".concat(index);
43245
43244
  }
43246
43245
  function rewriteModuleSpecifier(parent, lit) {
43247
43246
  if (bundled) {
@@ -44050,7 +44049,7 @@ var ts;
44050
44049
  }
44051
44050
  return results_1;
44052
44051
  }
44053
- return ts.Debug.fail("Unhandled class member kind! " + (p.__debugFlags || p.flags));
44052
+ return ts.Debug.fail("Unhandled class member kind! ".concat(p.__debugFlags || p.flags));
44054
44053
  };
44055
44054
  }
44056
44055
  function serializePropertySymbolForInterface(p, baseType) {
@@ -44120,7 +44119,7 @@ var ts;
44120
44119
  if (ref) {
44121
44120
  return ref;
44122
44121
  }
44123
- var tempName = getUnusedName(rootName + "_base");
44122
+ var tempName = getUnusedName("".concat(rootName, "_base"));
44124
44123
  var statement = ts.factory.createVariableStatement(undefined, ts.factory.createVariableDeclarationList([
44125
44124
  ts.factory.createVariableDeclaration(tempName, undefined, typeToTypeNodeHelper(staticType, context))
44126
44125
  ], 2));
@@ -44165,7 +44164,7 @@ var ts;
44165
44164
  var original = input;
44166
44165
  while ((_a = context.usedSymbolNames) === null || _a === void 0 ? void 0 : _a.has(input)) {
44167
44166
  i++;
44168
- input = original + "_" + i;
44167
+ input = "".concat(original, "_").concat(i);
44169
44168
  }
44170
44169
  (_b = context.usedSymbolNames) === null || _b === void 0 ? void 0 : _b.add(input);
44171
44170
  if (id) {
@@ -44271,15 +44270,15 @@ var ts;
44271
44270
  if (nameType.flags & 384) {
44272
44271
  var name = "" + nameType.value;
44273
44272
  if (!ts.isIdentifierText(name, ts.getEmitScriptTarget(compilerOptions)) && !isNumericLiteralName(name)) {
44274
- return "\"" + ts.escapeString(name, 34) + "\"";
44273
+ return "\"".concat(ts.escapeString(name, 34), "\"");
44275
44274
  }
44276
44275
  if (isNumericLiteralName(name) && ts.startsWith(name, "-")) {
44277
- return "[" + name + "]";
44276
+ return "[".concat(name, "]");
44278
44277
  }
44279
44278
  return name;
44280
44279
  }
44281
44280
  if (nameType.flags & 8192) {
44282
- return "[" + getNameOfSymbolAsWritten(nameType.symbol, context) + "]";
44281
+ return "[".concat(getNameOfSymbolAsWritten(nameType.symbol, context), "]");
44283
44282
  }
44284
44283
  }
44285
44284
  }
@@ -46678,7 +46677,7 @@ var ts;
46678
46677
  !leftName ? rightName :
46679
46678
  !rightName ? leftName :
46680
46679
  undefined;
46681
- var paramSymbol = createSymbol(1 | (isOptional && !isRestParam ? 16777216 : 0), paramName || "arg" + i);
46680
+ var paramSymbol = createSymbol(1 | (isOptional && !isRestParam ? 16777216 : 0), paramName || "arg".concat(i));
46682
46681
  paramSymbol.type = isRestParam ? createArrayType(unionParamType) : unionParamType;
46683
46682
  params[i] = paramSymbol;
46684
46683
  }
@@ -48363,7 +48362,7 @@ var ts;
48363
48362
  return result;
48364
48363
  }
48365
48364
  function getAliasId(aliasSymbol, aliasTypeArguments) {
48366
- return aliasSymbol ? "@" + getSymbolId(aliasSymbol) + (aliasTypeArguments ? ":" + getTypeListId(aliasTypeArguments) : "") : "";
48365
+ return aliasSymbol ? "@".concat(getSymbolId(aliasSymbol)) + (aliasTypeArguments ? ":".concat(getTypeListId(aliasTypeArguments)) : "") : "";
48367
48366
  }
48368
48367
  function getPropagatingFlagsOfTypes(types, excludeKinds) {
48369
48368
  var result = 0;
@@ -48526,7 +48525,7 @@ var ts;
48526
48525
  return undefined;
48527
48526
  }
48528
48527
  function getSymbolPath(symbol) {
48529
- return symbol.parent ? getSymbolPath(symbol.parent) + "." + symbol.escapedName : symbol.escapedName;
48528
+ return symbol.parent ? "".concat(getSymbolPath(symbol.parent), ".").concat(symbol.escapedName) : symbol.escapedName;
48530
48529
  }
48531
48530
  function getUnresolvedSymbolForEntityName(name) {
48532
48531
  var identifier = name.kind === 160 ? name.right :
@@ -48537,7 +48536,7 @@ var ts;
48537
48536
  var parentSymbol = name.kind === 160 ? getUnresolvedSymbolForEntityName(name.left) :
48538
48537
  name.kind === 205 ? getUnresolvedSymbolForEntityName(name.expression) :
48539
48538
  undefined;
48540
- var path = parentSymbol ? getSymbolPath(parentSymbol) + "." + text : text;
48539
+ var path = parentSymbol ? "".concat(getSymbolPath(parentSymbol), ".").concat(text) : text;
48541
48540
  var result = unresolvedSymbols.get(path);
48542
48541
  if (!result) {
48543
48542
  unresolvedSymbols.set(path, result = createSymbol(524288, text, 1048576));
@@ -48603,7 +48602,7 @@ var ts;
48603
48602
  if (substitute.flags & 3 || substitute === baseType) {
48604
48603
  return baseType;
48605
48604
  }
48606
- var id = getTypeId(baseType) + ">" + getTypeId(substitute);
48605
+ var id = "".concat(getTypeId(baseType), ">").concat(getTypeId(substitute));
48607
48606
  var cached = substitutionTypes.get(id);
48608
48607
  if (cached) {
48609
48608
  return cached;
@@ -49208,6 +49207,8 @@ var ts;
49208
49207
  }
49209
49208
  if (!(flags & 131072)) {
49210
49209
  includes |= flags & 205258751;
49210
+ if (flags & 465829888)
49211
+ includes |= 33554432;
49211
49212
  if (type === wildcardType)
49212
49213
  includes |= 8388608;
49213
49214
  if (!strictNullChecks && flags & 98304) {
@@ -49400,7 +49401,7 @@ var ts;
49400
49401
  origin = createOriginUnionOrIntersectionType(1048576, reducedTypes);
49401
49402
  }
49402
49403
  }
49403
- var objectFlags = (includes & 468598819 ? 0 : 65536) |
49404
+ var objectFlags = (includes & 36323363 ? 0 : 65536) |
49404
49405
  (includes & 2097152 ? 33554432 : 0);
49405
49406
  return getUnionTypeFromSortedList(typeSet, objectFlags, aliasSymbol, aliasTypeArguments, origin);
49406
49407
  }
@@ -49445,9 +49446,9 @@ var ts;
49445
49446
  return types[0];
49446
49447
  }
49447
49448
  var typeKey = !origin ? getTypeListId(types) :
49448
- origin.flags & 1048576 ? "|" + getTypeListId(origin.types) :
49449
- origin.flags & 2097152 ? "&" + getTypeListId(origin.types) :
49450
- "#" + origin.type.id + "|" + getTypeListId(types);
49449
+ origin.flags & 1048576 ? "|".concat(getTypeListId(origin.types)) :
49450
+ origin.flags & 2097152 ? "&".concat(getTypeListId(origin.types)) :
49451
+ "#".concat(origin.type.id, "|").concat(getTypeListId(types));
49451
49452
  var id = typeKey + getAliasId(aliasSymbol, aliasTypeArguments);
49452
49453
  var type = unionTypes.get(id);
49453
49454
  if (!type) {
@@ -49897,7 +49898,7 @@ var ts;
49897
49898
  if (ts.every(newTexts, function (t) { return t === ""; }) && ts.every(newTypes, function (t) { return !!(t.flags & 4); })) {
49898
49899
  return stringType;
49899
49900
  }
49900
- var id = getTypeListId(newTypes) + "|" + ts.map(newTexts, function (t) { return t.length; }).join(",") + "|" + newTexts.join("");
49901
+ var id = "".concat(getTypeListId(newTypes), "|").concat(ts.map(newTexts, function (t) { return t.length; }).join(","), "|").concat(newTexts.join(""));
49901
49902
  var type = templateLiteralTypes.get(id);
49902
49903
  if (!type) {
49903
49904
  templateLiteralTypes.set(id, type = createTemplateLiteralType(newTexts, newTypes));
@@ -49957,7 +49958,7 @@ var ts;
49957
49958
  return str;
49958
49959
  }
49959
49960
  function getStringMappingTypeForGenericType(symbol, type) {
49960
- var id = getSymbolId(symbol) + "," + getTypeId(type);
49961
+ var id = "".concat(getSymbolId(symbol), ",").concat(getTypeId(type));
49961
49962
  var result = stringMappingTypes.get(id);
49962
49963
  if (!result) {
49963
49964
  stringMappingTypes.set(id, result = createStringMappingType(symbol, type));
@@ -50868,7 +50869,7 @@ var ts;
50868
50869
  function createUniqueESSymbolType(symbol) {
50869
50870
  var type = createType(8192);
50870
50871
  type.symbol = symbol;
50871
- type.escapedName = "__@" + type.symbol.escapedName + "@" + getSymbolId(type.symbol);
50872
+ type.escapedName = "__@".concat(type.symbol.escapedName, "@").concat(getSymbolId(type.symbol));
50872
50873
  return type;
50873
50874
  }
50874
50875
  function getESSymbolLikeTypeForNode(node) {
@@ -52389,20 +52390,20 @@ var ts;
52389
52390
  switch (msg.code) {
52390
52391
  case ts.Diagnostics.Types_of_property_0_are_incompatible.code: {
52391
52392
  if (path.indexOf("new ") === 0) {
52392
- path = "(" + path + ")";
52393
+ path = "(".concat(path, ")");
52393
52394
  }
52394
52395
  var str = "" + args[0];
52395
52396
  if (path.length === 0) {
52396
- path = "" + str;
52397
+ path = "".concat(str);
52397
52398
  }
52398
52399
  else if (ts.isIdentifierText(str, ts.getEmitScriptTarget(compilerOptions))) {
52399
- path = path + "." + str;
52400
+ path = "".concat(path, ".").concat(str);
52400
52401
  }
52401
52402
  else if (str[0] === "[" && str[str.length - 1] === "]") {
52402
- path = "" + path + str;
52403
+ path = "".concat(path).concat(str);
52403
52404
  }
52404
52405
  else {
52405
- path = path + "[" + str + "]";
52406
+ path = "".concat(path, "[").concat(str, "]");
52406
52407
  }
52407
52408
  break;
52408
52409
  }
@@ -52429,7 +52430,7 @@ var ts;
52429
52430
  msg.code === ts.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code)
52430
52431
  ? ""
52431
52432
  : "...";
52432
- path = "" + prefix + path + "(" + params + ")";
52433
+ path = "".concat(prefix).concat(path, "(").concat(params, ")");
52433
52434
  }
52434
52435
  break;
52435
52436
  }
@@ -52442,7 +52443,7 @@ var ts;
52442
52443
  break;
52443
52444
  }
52444
52445
  default:
52445
- return ts.Debug.fail("Unhandled Diagnostic: " + msg.code);
52446
+ return ts.Debug.fail("Unhandled Diagnostic: ".concat(msg.code));
52446
52447
  }
52447
52448
  }
52448
52449
  if (path) {
@@ -53000,7 +53001,7 @@ var ts;
53000
53001
  else {
53001
53002
  var broadestEquivalentId = id.split(",").map(function (i) { return i.replace(/-\d+/g, function (_match, offset) {
53002
53003
  var index = ts.length(id.slice(0, offset).match(/[-=]/g) || undefined);
53003
- return "=" + index;
53004
+ return "=".concat(index);
53004
53005
  }); }).join(",");
53005
53006
  for (var i = 0; i < maybeCount; i++) {
53006
53007
  if (id === maybeKeys[i] || broadestEquivalentId === maybeKeys[i]) {
@@ -53245,7 +53246,7 @@ var ts;
53245
53246
  originalErrorInfo = undefined;
53246
53247
  }
53247
53248
  }
53248
- else if (isGenericMappedType(target)) {
53249
+ else if (isGenericMappedType(target) && relation !== identityRelation) {
53249
53250
  var keysRemapped = !!target.declaration.nameType;
53250
53251
  var templateType = getTemplateTypeFromMappedType(target);
53251
53252
  var modifiers = getMappedTypeModifiers(target);
@@ -54998,7 +54999,8 @@ var ts;
54998
54999
  (resolveName(param, param.name.escapedText, 788968, undefined, param.name.escapedText, true) ||
54999
55000
  param.name.originalKeywordKind && ts.isTypeNodeKind(param.name.originalKeywordKind))) {
55000
55001
  var newName = "arg" + param.parent.parameters.indexOf(param);
55001
- errorOrSuggestion(noImplicitAny, declaration, ts.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1, newName, ts.declarationNameToString(param.name));
55002
+ var typeName = ts.declarationNameToString(param.name) + (param.dotDotDotToken ? "[]" : "");
55003
+ errorOrSuggestion(noImplicitAny, declaration, ts.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1, newName, typeName);
55002
55004
  return;
55003
55005
  }
55004
55006
  diagnostic = declaration.dotDotDotToken ?
@@ -56120,10 +56122,10 @@ var ts;
56120
56122
  case 79:
56121
56123
  if (!ts.isThisInTypeQuery(node)) {
56122
56124
  var symbol = getResolvedSymbol(node);
56123
- return symbol !== unknownSymbol ? (flowContainer ? getNodeId(flowContainer) : "-1") + "|" + getTypeId(declaredType) + "|" + getTypeId(initialType) + "|" + getSymbolId(symbol) : undefined;
56125
+ return symbol !== unknownSymbol ? "".concat(flowContainer ? getNodeId(flowContainer) : "-1", "|").concat(getTypeId(declaredType), "|").concat(getTypeId(initialType), "|").concat(getSymbolId(symbol)) : undefined;
56124
56126
  }
56125
56127
  case 108:
56126
- return "0|" + (flowContainer ? getNodeId(flowContainer) : "-1") + "|" + getTypeId(declaredType) + "|" + getTypeId(initialType);
56128
+ return "0|".concat(flowContainer ? getNodeId(flowContainer) : "-1", "|").concat(getTypeId(declaredType), "|").concat(getTypeId(initialType));
56127
56129
  case 229:
56128
56130
  case 211:
56129
56131
  return getFlowCacheKey(node.expression, declaredType, initialType, flowContainer);
@@ -59364,7 +59366,7 @@ var ts;
59364
59366
  !leftName ? rightName :
59365
59367
  !rightName ? leftName :
59366
59368
  undefined;
59367
- var paramSymbol = createSymbol(1 | (isOptional && !isRestParam ? 16777216 : 0), paramName || "arg" + i);
59369
+ var paramSymbol = createSymbol(1 | (isOptional && !isRestParam ? 16777216 : 0), paramName || "arg".concat(i));
59368
59370
  paramSymbol.type = isRestParam ? createArrayType(unionParamType) : unionParamType;
59369
59371
  params[i] = paramSymbol;
59370
59372
  }
@@ -65693,6 +65695,8 @@ var ts;
65693
65695
  if (!typeReferenceNode)
65694
65696
  return undefined;
65695
65697
  var typeParameters = getTypeParametersForTypeReference(typeReferenceNode);
65698
+ if (!typeParameters)
65699
+ return undefined;
65696
65700
  var constraint = getConstraintOfTypeParameter(typeParameters[typeReferenceNode.typeArguments.indexOf(node)]);
65697
65701
  return constraint && instantiateType(constraint, createTypeMapper(typeParameters, getEffectiveTypeArguments(typeReferenceNode, typeParameters)));
65698
65702
  }
@@ -67805,7 +67809,7 @@ var ts;
67805
67809
  function getPropertyNameForKnownSymbolName(symbolName) {
67806
67810
  var ctorType = getGlobalESSymbolConstructorSymbol(false);
67807
67811
  var uniqueType = ctorType && getTypeOfPropertyOfType(getTypeOfSymbol(ctorType), ts.escapeLeadingUnderscores(symbolName));
67808
- return uniqueType && isTypeUsableAsPropertyName(uniqueType) ? getPropertyNameFromType(uniqueType) : "__@" + symbolName;
67812
+ return uniqueType && isTypeUsableAsPropertyName(uniqueType) ? getPropertyNameFromType(uniqueType) : "__@".concat(symbolName);
67809
67813
  }
67810
67814
  function getIterationTypesOfIterableSlow(type, resolver, errorNode) {
67811
67815
  var _a;
@@ -74053,7 +74057,7 @@ var ts;
74053
74057
  value >= 52 && value < 62 ? 48 + value - 52 :
74054
74058
  value === 62 ? 43 :
74055
74059
  value === 63 ? 47 :
74056
- ts.Debug.fail(value + ": not a base64 value");
74060
+ ts.Debug.fail("".concat(value, ": not a base64 value"));
74057
74061
  }
74058
74062
  function base64FormatDecode(ch) {
74059
74063
  return ch >= 65 && ch <= 90 ? ch - 65 :
@@ -74126,7 +74130,7 @@ var ts;
74126
74130
  var mappings = ts.arrayFrom(decoder, processMapping);
74127
74131
  if (decoder.error !== undefined) {
74128
74132
  if (host.log) {
74129
- host.log("Encountered error while decoding sourcemap: " + decoder.error);
74133
+ host.log("Encountered error while decoding sourcemap: ".concat(decoder.error));
74130
74134
  }
74131
74135
  decodedMappings = ts.emptyArray;
74132
74136
  }
@@ -76561,7 +76565,7 @@ var ts;
76561
76565
  var propertyName = ts.isPropertyAccessExpression(originalNode)
76562
76566
  ? ts.declarationNameToString(originalNode.name)
76563
76567
  : ts.getTextOfNode(originalNode.argumentExpression);
76564
- ts.addSyntheticTrailingComment(substitute, 3, " " + propertyName + " ");
76568
+ ts.addSyntheticTrailingComment(substitute, 3, " ".concat(propertyName, " "));
76565
76569
  }
76566
76570
  return substitute;
76567
76571
  }
@@ -77745,8 +77749,8 @@ var ts;
77745
77749
  }
77746
77750
  function createHoistedVariableForClass(name, node) {
77747
77751
  var className = getPrivateIdentifierEnvironment().className;
77748
- var prefix = className ? "_" + className : "";
77749
- var identifier = factory.createUniqueName(prefix + "_" + name, 16);
77752
+ var prefix = className ? "_".concat(className) : "";
77753
+ var identifier = factory.createUniqueName("".concat(prefix, "_").concat(name), 16);
77750
77754
  if (resolver.getNodeCheckFlags(node) & 524288) {
77751
77755
  addBlockScopedVariable(identifier);
77752
77756
  }
@@ -79315,7 +79319,7 @@ var ts;
79315
79319
  specifierSourceImports = ts.createMap();
79316
79320
  currentFileState.utilizedImplicitRuntimeImports.set(importSource, specifierSourceImports);
79317
79321
  }
79318
- var generatedName = factory.createUniqueName("_" + name, 16 | 32 | 64);
79322
+ var generatedName = factory.createUniqueName("_".concat(name), 16 | 32 | 64);
79319
79323
  var specifier = factory.createImportSpecifier(false, factory.createIdentifier(name), generatedName);
79320
79324
  generatedName.generatedImportReference = specifier;
79321
79325
  specifierSourceImports.set(name, specifier);
@@ -80250,11 +80254,11 @@ var ts;
80250
80254
  }
80251
80255
  else {
80252
80256
  if (node.kind === 245) {
80253
- labelMarker = "break-" + label.escapedText;
80257
+ labelMarker = "break-".concat(label.escapedText);
80254
80258
  setLabeledJump(convertedLoopState, true, ts.idText(label), labelMarker);
80255
80259
  }
80256
80260
  else {
80257
- labelMarker = "continue-" + label.escapedText;
80261
+ labelMarker = "continue-".concat(label.escapedText);
80258
80262
  setLabeledJump(convertedLoopState, false, ts.idText(label), labelMarker);
80259
80263
  }
80260
80264
  }
@@ -85874,7 +85878,7 @@ var ts;
85874
85878
  return getTypeAliasDeclarationVisibilityError;
85875
85879
  }
85876
85880
  else {
85877
- return ts.Debug.assertNever(node, "Attempted to set a declaration diagnostic context for unhandled node kind: " + ts.SyntaxKind[node.kind]);
85881
+ return ts.Debug.assertNever(node, "Attempted to set a declaration diagnostic context for unhandled node kind: ".concat(ts.SyntaxKind[node.kind]));
85878
85882
  }
85879
85883
  function getVariableDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult) {
85880
85884
  if (node.kind === 253 || node.kind === 202) {
@@ -86071,7 +86075,7 @@ var ts;
86071
86075
  ts.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2 :
86072
86076
  ts.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;
86073
86077
  default:
86074
- return ts.Debug.fail("Unknown parent for parameter: " + ts.SyntaxKind[node.parent.kind]);
86078
+ return ts.Debug.fail("Unknown parent for parameter: ".concat(ts.SyntaxKind[node.parent.kind]));
86075
86079
  }
86076
86080
  }
86077
86081
  function getTypeParameterConstraintVisibilityError() {
@@ -86758,7 +86762,7 @@ var ts;
86758
86762
  while (ts.length(lateMarkedStatements)) {
86759
86763
  var i = lateMarkedStatements.shift();
86760
86764
  if (!ts.isLateVisibilityPaintedStatement(i)) {
86761
- return ts.Debug.fail("Late replaced statement was found which is not handled by the declaration transformer!: " + (ts.SyntaxKind ? ts.SyntaxKind[i.kind] : i.kind));
86765
+ return ts.Debug.fail("Late replaced statement was found which is not handled by the declaration transformer!: ".concat(ts.SyntaxKind ? ts.SyntaxKind[i.kind] : i.kind));
86762
86766
  }
86763
86767
  var priorNeedsDeclare = needsDeclare;
86764
86768
  needsDeclare = i.parent && ts.isSourceFile(i.parent) && !(ts.isExternalModule(i.parent) && isBundledEmit);
@@ -86923,7 +86927,7 @@ var ts;
86923
86927
  return cleanup(input);
86924
86928
  return cleanup(factory.updateImportTypeNode(input, factory.updateLiteralTypeNode(input.argument, rewriteModuleSpecifier(input, input.argument.literal)), input.qualifier, ts.visitNodes(input.typeArguments, visitDeclarationSubtree, ts.isTypeNode), input.isTypeOf));
86925
86929
  }
86926
- default: ts.Debug.assertNever(input, "Attempted to process unhandled node kind: " + ts.SyntaxKind[input.kind]);
86930
+ default: ts.Debug.assertNever(input, "Attempted to process unhandled node kind: ".concat(ts.SyntaxKind[input.kind]));
86927
86931
  }
86928
86932
  }
86929
86933
  if (ts.isTupleTypeNode(input) && (ts.getLineAndCharacterOfPosition(currentSourceFile, input.pos).line === ts.getLineAndCharacterOfPosition(currentSourceFile, input.end).line)) {
@@ -87167,7 +87171,7 @@ var ts;
87167
87171
  var extendsClause_1 = ts.getEffectiveBaseTypeNode(input);
87168
87172
  if (extendsClause_1 && !ts.isEntityNameExpression(extendsClause_1.expression) && extendsClause_1.expression.kind !== 104) {
87169
87173
  var oldId = input.name ? ts.unescapeLeadingUnderscores(input.name.escapedText) : "default";
87170
- var newId_1 = factory.createUniqueName(oldId + "_base", 16);
87174
+ var newId_1 = factory.createUniqueName("".concat(oldId, "_base"), 16);
87171
87175
  getSymbolAccessibilityDiagnostic = function () { return ({
87172
87176
  diagnosticMessage: ts.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,
87173
87177
  errorNode: extendsClause_1,
@@ -87204,7 +87208,7 @@ var ts;
87204
87208
  }))));
87205
87209
  }
87206
87210
  }
87207
- return ts.Debug.assertNever(input, "Unhandled top-level node in declaration emit: " + ts.SyntaxKind[input.kind]);
87211
+ return ts.Debug.assertNever(input, "Unhandled top-level node in declaration emit: ".concat(ts.SyntaxKind[input.kind]));
87208
87212
  function cleanup(node) {
87209
87213
  if (isEnclosingDeclaration(input)) {
87210
87214
  enclosingDeclaration = previousEnclosingDeclaration;
@@ -87973,13 +87977,13 @@ var ts;
87973
87977
  if (ts.fileExtensionIs(inputFileName, ".json"))
87974
87978
  return;
87975
87979
  if (js && configFile.options.sourceMap) {
87976
- addOutput(js + ".map");
87980
+ addOutput("".concat(js, ".map"));
87977
87981
  }
87978
87982
  if (ts.getEmitDeclarations(configFile.options)) {
87979
87983
  var dts = getOutputDeclarationFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory);
87980
87984
  addOutput(dts);
87981
87985
  if (configFile.options.declarationMap) {
87982
- addOutput(dts + ".map");
87986
+ addOutput("".concat(dts, ".map"));
87983
87987
  }
87984
87988
  }
87985
87989
  }
@@ -88039,7 +88043,7 @@ var ts;
88039
88043
  function getFirstProjectOutput(configFile, ignoreCase) {
88040
88044
  if (ts.outFile(configFile.options)) {
88041
88045
  var jsFilePath = getOutputPathsForBundle(configFile.options, false).jsFilePath;
88042
- return ts.Debug.checkDefined(jsFilePath, "project " + configFile.options.configFilePath + " expected to have at least one output");
88046
+ return ts.Debug.checkDefined(jsFilePath, "project ".concat(configFile.options.configFilePath, " expected to have at least one output"));
88043
88047
  }
88044
88048
  var getCommonSourceDirectory = ts.memoize(function () { return getCommonSourceDirectoryOfConfig(configFile, ignoreCase); });
88045
88049
  for (var _a = 0, _b = configFile.fileNames; _a < _b.length; _a++) {
@@ -88058,7 +88062,7 @@ var ts;
88058
88062
  var buildInfoPath = getTsBuildInfoEmitOutputFilePath(configFile.options);
88059
88063
  if (buildInfoPath)
88060
88064
  return buildInfoPath;
88061
- return ts.Debug.fail("project " + configFile.options.configFilePath + " expected to have at least one output");
88065
+ return ts.Debug.fail("project ".concat(configFile.options.configFilePath, " expected to have at least one output"));
88062
88066
  }
88063
88067
  ts.getFirstProjectOutput = getFirstProjectOutput;
88064
88068
  function emitFiles(resolver, host, targetSourceFile, _a, emitOnlyDtsFiles, onlyBuildInfo, forceDtsEmit) {
@@ -88268,7 +88272,7 @@ var ts;
88268
88272
  if (sourceMappingURL) {
88269
88273
  if (!writer.isAtStartOfLine())
88270
88274
  writer.rawWrite(newLine);
88271
- writer.writeComment("//# " + "sourceMappingURL" + "=" + sourceMappingURL);
88275
+ writer.writeComment("//# ".concat("sourceMappingURL", "=").concat(sourceMappingURL));
88272
88276
  }
88273
88277
  if (sourceMapFilePath) {
88274
88278
  var sourceMap = sourceMapGenerator.toString();
@@ -88308,7 +88312,7 @@ var ts;
88308
88312
  if (mapOptions.inlineSourceMap) {
88309
88313
  var sourceMapText = sourceMapGenerator.toString();
88310
88314
  var base64SourceMapText = ts.base64encode(ts.sys, sourceMapText);
88311
- return "data:application/json;base64," + base64SourceMapText;
88315
+ return "data:application/json;base64,".concat(base64SourceMapText);
88312
88316
  }
88313
88317
  var sourceMapFile = ts.getBaseFileName(ts.normalizeSlashes(ts.Debug.checkDefined(sourceMapFilePath)));
88314
88318
  if (mapOptions.mapRoot) {
@@ -88472,7 +88476,7 @@ var ts;
88472
88476
  return;
88473
88477
  break;
88474
88478
  default:
88475
- ts.Debug.fail("Unexpected path: " + name);
88479
+ ts.Debug.fail("Unexpected path: ".concat(name));
88476
88480
  }
88477
88481
  outputFiles.push({ name: name, text: text, writeByteOrderMark: writeByteOrderMark });
88478
88482
  },
@@ -89280,7 +89284,7 @@ var ts;
89280
89284
  return writeTokenNode(node, writeKeyword);
89281
89285
  if (ts.isTokenKind(node.kind))
89282
89286
  return writeTokenNode(node, writePunctuation);
89283
- ts.Debug.fail("Unhandled SyntaxKind: " + ts.Debug.formatSyntaxKind(node.kind) + ".");
89287
+ ts.Debug.fail("Unhandled SyntaxKind: ".concat(ts.Debug.formatSyntaxKind(node.kind), "."));
89284
89288
  }
89285
89289
  function emitMappedTypeParameter(node) {
89286
89290
  emit(node.name);
@@ -89420,12 +89424,12 @@ var ts;
89420
89424
  }
89421
89425
  }
89422
89426
  function emitPlaceholder(hint, node, snippet) {
89423
- nonEscapingWrite("${" + snippet.order + ":");
89427
+ nonEscapingWrite("${".concat(snippet.order, ":"));
89424
89428
  pipelineEmitWithHintWorker(hint, node, false);
89425
89429
  nonEscapingWrite("}");
89426
89430
  }
89427
89431
  function emitTabStop(snippet) {
89428
- nonEscapingWrite("$" + snippet.order);
89432
+ nonEscapingWrite("$".concat(snippet.order));
89429
89433
  }
89430
89434
  function emitIdentifier(node) {
89431
89435
  var writeText = node.symbol ? writeSymbol : write;
@@ -91053,17 +91057,17 @@ var ts;
91053
91057
  writeLine();
91054
91058
  }
91055
91059
  if (currentSourceFile && currentSourceFile.moduleName) {
91056
- writeComment("/// <amd-module name=\"" + currentSourceFile.moduleName + "\" />");
91060
+ writeComment("/// <amd-module name=\"".concat(currentSourceFile.moduleName, "\" />"));
91057
91061
  writeLine();
91058
91062
  }
91059
91063
  if (currentSourceFile && currentSourceFile.amdDependencies) {
91060
91064
  for (var _a = 0, _b = currentSourceFile.amdDependencies; _a < _b.length; _a++) {
91061
91065
  var dep = _b[_a];
91062
91066
  if (dep.name) {
91063
- writeComment("/// <amd-dependency name=\"" + dep.name + "\" path=\"" + dep.path + "\" />");
91067
+ writeComment("/// <amd-dependency name=\"".concat(dep.name, "\" path=\"").concat(dep.path, "\" />"));
91064
91068
  }
91065
91069
  else {
91066
- writeComment("/// <amd-dependency path=\"" + dep.path + "\" />");
91070
+ writeComment("/// <amd-dependency path=\"".concat(dep.path, "\" />"));
91067
91071
  }
91068
91072
  writeLine();
91069
91073
  }
@@ -91071,7 +91075,7 @@ var ts;
91071
91075
  for (var _c = 0, files_2 = files; _c < files_2.length; _c++) {
91072
91076
  var directive = files_2[_c];
91073
91077
  var pos = writer.getTextPos();
91074
- writeComment("/// <reference path=\"" + directive.fileName + "\" />");
91078
+ writeComment("/// <reference path=\"".concat(directive.fileName, "\" />"));
91075
91079
  if (bundleFileInfo)
91076
91080
  bundleFileInfo.sections.push({ pos: pos, end: writer.getTextPos(), kind: "reference", data: directive.fileName });
91077
91081
  writeLine();
@@ -91079,7 +91083,7 @@ var ts;
91079
91083
  for (var _d = 0, types_24 = types; _d < types_24.length; _d++) {
91080
91084
  var directive = types_24[_d];
91081
91085
  var pos = writer.getTextPos();
91082
- writeComment("/// <reference types=\"" + directive.fileName + "\" />");
91086
+ writeComment("/// <reference types=\"".concat(directive.fileName, "\" />"));
91083
91087
  if (bundleFileInfo)
91084
91088
  bundleFileInfo.sections.push({ pos: pos, end: writer.getTextPos(), kind: "type", data: directive.fileName });
91085
91089
  writeLine();
@@ -91087,7 +91091,7 @@ var ts;
91087
91091
  for (var _e = 0, libs_1 = libs; _e < libs_1.length; _e++) {
91088
91092
  var directive = libs_1[_e];
91089
91093
  var pos = writer.getTextPos();
91090
- writeComment("/// <reference lib=\"" + directive.fileName + "\" />");
91094
+ writeComment("/// <reference lib=\"".concat(directive.fileName, "\" />"));
91091
91095
  if (bundleFileInfo)
91092
91096
  bundleFileInfo.sections.push({ pos: pos, end: writer.getTextPos(), kind: "lib", data: directive.fileName });
91093
91097
  writeLine();
@@ -91781,9 +91785,9 @@ var ts;
91781
91785
  var textSourceNode = node.textSourceNode;
91782
91786
  if (ts.isIdentifier(textSourceNode) || ts.isNumericLiteral(textSourceNode)) {
91783
91787
  var text = ts.isNumericLiteral(textSourceNode) ? textSourceNode.text : getTextOfNode(textSourceNode);
91784
- return jsxAttributeEscape ? "\"" + ts.escapeJsxAttributeString(text) + "\"" :
91785
- neverAsciiEscape || (ts.getEmitFlags(node) & 16777216) ? "\"" + ts.escapeString(text) + "\"" :
91786
- "\"" + ts.escapeNonAsciiString(text) + "\"";
91788
+ return jsxAttributeEscape ? "\"".concat(ts.escapeJsxAttributeString(text), "\"") :
91789
+ neverAsciiEscape || (ts.getEmitFlags(node) & 16777216) ? "\"".concat(ts.escapeString(text), "\"") :
91790
+ "\"".concat(ts.escapeNonAsciiString(text), "\"");
91787
91791
  }
91788
91792
  else {
91789
91793
  return getLiteralTextOfNode(textSourceNode, neverAsciiEscape, jsxAttributeEscape);
@@ -92182,8 +92186,8 @@ var ts;
92182
92186
  }
92183
92187
  function formatSynthesizedComment(comment) {
92184
92188
  return comment.kind === 3
92185
- ? "/*" + comment.text + "*/"
92186
- : "//" + comment.text;
92189
+ ? "/*".concat(comment.text, "*/")
92190
+ : "//".concat(comment.text);
92187
92191
  }
92188
92192
  function emitBodyWithDetachedComments(node, detachedRange, emitCallback) {
92189
92193
  enterComment();
@@ -92628,7 +92632,7 @@ var ts;
92628
92632
  var rootResult = tryReadDirectory(rootDir, rootDirPath);
92629
92633
  var rootSymLinkResult;
92630
92634
  if (rootResult !== undefined) {
92631
- return ts.matchFiles(rootDir, extensions, excludes, includes, useCaseSensitiveFileNames, currentDirectory, depth, getFileSystemEntries, realpath, directoryExists);
92635
+ return ts.matchFiles(rootDir, extensions, excludes, includes, useCaseSensitiveFileNames, currentDirectory, depth, getFileSystemEntries, realpath);
92632
92636
  }
92633
92637
  return host.readDirectory(rootDir, extensions, excludes, includes, depth);
92634
92638
  function getFileSystemEntries(dir) {
@@ -92797,18 +92801,18 @@ var ts;
92797
92801
  var watchedDirPath = _a.watchedDirPath, fileOrDirectory = _a.fileOrDirectory, fileOrDirectoryPath = _a.fileOrDirectoryPath, configFileName = _a.configFileName, options = _a.options, program = _a.program, extraFileExtensions = _a.extraFileExtensions, currentDirectory = _a.currentDirectory, useCaseSensitiveFileNames = _a.useCaseSensitiveFileNames, writeLog = _a.writeLog, toPath = _a.toPath;
92798
92802
  var newPath = ts.removeIgnoredPath(fileOrDirectoryPath);
92799
92803
  if (!newPath) {
92800
- writeLog("Project: " + configFileName + " Detected ignored path: " + fileOrDirectory);
92804
+ writeLog("Project: ".concat(configFileName, " Detected ignored path: ").concat(fileOrDirectory));
92801
92805
  return true;
92802
92806
  }
92803
92807
  fileOrDirectoryPath = newPath;
92804
92808
  if (fileOrDirectoryPath === watchedDirPath)
92805
92809
  return false;
92806
92810
  if (ts.hasExtension(fileOrDirectoryPath) && !ts.isSupportedSourceFileName(fileOrDirectory, options, extraFileExtensions)) {
92807
- writeLog("Project: " + configFileName + " Detected file add/remove of non supported extension: " + fileOrDirectory);
92811
+ writeLog("Project: ".concat(configFileName, " Detected file add/remove of non supported extension: ").concat(fileOrDirectory));
92808
92812
  return true;
92809
92813
  }
92810
92814
  if (ts.isExcludedFile(fileOrDirectory, options.configFile.configFileSpecs, ts.getNormalizedAbsolutePath(ts.getDirectoryPath(configFileName), currentDirectory), useCaseSensitiveFileNames, currentDirectory)) {
92811
- writeLog("Project: " + configFileName + " Detected excluded file: " + fileOrDirectory);
92815
+ writeLog("Project: ".concat(configFileName, " Detected excluded file: ").concat(fileOrDirectory));
92812
92816
  return true;
92813
92817
  }
92814
92818
  if (!program)
@@ -92827,7 +92831,7 @@ var ts;
92827
92831
  var builderProgram = !realProgram && !ts.isArray(program) ? program : undefined;
92828
92832
  if (hasSourceFile((filePathWithoutExtension + ".ts")) ||
92829
92833
  hasSourceFile((filePathWithoutExtension + ".tsx"))) {
92830
- writeLog("Project: " + configFileName + " Detected output file: " + fileOrDirectory);
92834
+ writeLog("Project: ".concat(configFileName, " Detected output file: ").concat(fileOrDirectory));
92831
92835
  return true;
92832
92836
  }
92833
92837
  return false;
@@ -92895,36 +92899,36 @@ var ts;
92895
92899
  host.useCaseSensitiveFileNames();
92896
92900
  }
92897
92901
  function createExcludeWatcherWithLogging(file, flags, options, detailInfo1, detailInfo2) {
92898
- log("ExcludeWatcher:: Added:: " + getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo));
92902
+ log("ExcludeWatcher:: Added:: ".concat(getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)));
92899
92903
  return {
92900
- close: function () { return log("ExcludeWatcher:: Close:: " + getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)); }
92904
+ close: function () { return log("ExcludeWatcher:: Close:: ".concat(getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo))); }
92901
92905
  };
92902
92906
  }
92903
92907
  function createFileWatcherWithLogging(file, cb, flags, options, detailInfo1, detailInfo2) {
92904
- log("FileWatcher:: Added:: " + getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo));
92908
+ log("FileWatcher:: Added:: ".concat(getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)));
92905
92909
  var watcher = triggerInvokingFactory.watchFile(file, cb, flags, options, detailInfo1, detailInfo2);
92906
92910
  return {
92907
92911
  close: function () {
92908
- log("FileWatcher:: Close:: " + getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo));
92912
+ log("FileWatcher:: Close:: ".concat(getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)));
92909
92913
  watcher.close();
92910
92914
  }
92911
92915
  };
92912
92916
  }
92913
92917
  function createDirectoryWatcherWithLogging(file, cb, flags, options, detailInfo1, detailInfo2) {
92914
- var watchInfo = "DirectoryWatcher:: Added:: " + getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo);
92918
+ var watchInfo = "DirectoryWatcher:: Added:: ".concat(getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo));
92915
92919
  log(watchInfo);
92916
92920
  var start = ts.timestamp();
92917
92921
  var watcher = triggerInvokingFactory.watchDirectory(file, cb, flags, options, detailInfo1, detailInfo2);
92918
92922
  var elapsed = ts.timestamp() - start;
92919
- log("Elapsed:: " + elapsed + "ms " + watchInfo);
92923
+ log("Elapsed:: ".concat(elapsed, "ms ").concat(watchInfo));
92920
92924
  return {
92921
92925
  close: function () {
92922
- var watchInfo = "DirectoryWatcher:: Close:: " + getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo);
92926
+ var watchInfo = "DirectoryWatcher:: Close:: ".concat(getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo));
92923
92927
  log(watchInfo);
92924
92928
  var start = ts.timestamp();
92925
92929
  watcher.close();
92926
92930
  var elapsed = ts.timestamp() - start;
92927
- log("Elapsed:: " + elapsed + "ms " + watchInfo);
92931
+ log("Elapsed:: ".concat(elapsed, "ms ").concat(watchInfo));
92928
92932
  }
92929
92933
  };
92930
92934
  }
@@ -92934,16 +92938,16 @@ var ts;
92934
92938
  for (var _i = 0; _i < arguments.length; _i++) {
92935
92939
  args[_i] = arguments[_i];
92936
92940
  }
92937
- var triggerredInfo = (key === "watchFile" ? "FileWatcher" : "DirectoryWatcher") + ":: Triggered with " + args[0] + " " + (args[1] !== undefined ? args[1] : "") + ":: " + getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo);
92941
+ var triggerredInfo = "".concat(key === "watchFile" ? "FileWatcher" : "DirectoryWatcher", ":: Triggered with ").concat(args[0], " ").concat(args[1] !== undefined ? args[1] : "", ":: ").concat(getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo));
92938
92942
  log(triggerredInfo);
92939
92943
  var start = ts.timestamp();
92940
92944
  cb.call.apply(cb, __spreadArray([undefined], args, false));
92941
92945
  var elapsed = ts.timestamp() - start;
92942
- log("Elapsed:: " + elapsed + "ms " + triggerredInfo);
92946
+ log("Elapsed:: ".concat(elapsed, "ms ").concat(triggerredInfo));
92943
92947
  }, flags, options, detailInfo1, detailInfo2); };
92944
92948
  }
92945
92949
  function getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo) {
92946
- return "WatchInfo: " + file + " " + flags + " " + JSON.stringify(options) + " " + (getDetailWatchInfo ? getDetailWatchInfo(detailInfo1, detailInfo2) : detailInfo2 === undefined ? detailInfo1 : detailInfo1 + " " + detailInfo2);
92950
+ return "WatchInfo: ".concat(file, " ").concat(flags, " ").concat(JSON.stringify(options), " ").concat(getDetailWatchInfo ? getDetailWatchInfo(detailInfo1, detailInfo2) : detailInfo2 === undefined ? detailInfo1 : "".concat(detailInfo1, " ").concat(detailInfo2));
92947
92951
  }
92948
92952
  }
92949
92953
  ts.getWatchFactory = getWatchFactory;
@@ -93233,12 +93237,12 @@ var ts;
93233
93237
  }
93234
93238
  ts.formatDiagnostics = formatDiagnostics;
93235
93239
  function formatDiagnostic(diagnostic, host) {
93236
- var errorMessage = ts.diagnosticCategoryName(diagnostic) + " TS" + diagnostic.code + ": " + flattenDiagnosticMessageText(diagnostic.messageText, host.getNewLine()) + host.getNewLine();
93240
+ var errorMessage = "".concat(ts.diagnosticCategoryName(diagnostic), " TS").concat(diagnostic.code, ": ").concat(flattenDiagnosticMessageText(diagnostic.messageText, host.getNewLine())).concat(host.getNewLine());
93237
93241
  if (diagnostic.file) {
93238
93242
  var _a = ts.getLineAndCharacterOfPosition(diagnostic.file, diagnostic.start), line = _a.line, character = _a.character;
93239
93243
  var fileName = diagnostic.file.fileName;
93240
93244
  var relativeFileName = ts.convertToRelativePath(fileName, host.getCurrentDirectory(), function (fileName) { return host.getCanonicalFileName(fileName); });
93241
- return relativeFileName + "(" + (line + 1) + "," + (character + 1) + "): " + errorMessage;
93245
+ return "".concat(relativeFileName, "(").concat(line + 1, ",").concat(character + 1, "): ") + errorMessage;
93242
93246
  }
93243
93247
  return errorMessage;
93244
93248
  }
@@ -93316,9 +93320,9 @@ var ts;
93316
93320
  var output = "";
93317
93321
  output += color(relativeFileName, ForegroundColorEscapeSequences.Cyan);
93318
93322
  output += ":";
93319
- output += color("" + (firstLine + 1), ForegroundColorEscapeSequences.Yellow);
93323
+ output += color("".concat(firstLine + 1), ForegroundColorEscapeSequences.Yellow);
93320
93324
  output += ":";
93321
- output += color("" + (firstLineChar + 1), ForegroundColorEscapeSequences.Yellow);
93325
+ output += color("".concat(firstLineChar + 1), ForegroundColorEscapeSequences.Yellow);
93322
93326
  return output;
93323
93327
  }
93324
93328
  ts.formatLocation = formatLocation;
@@ -93332,7 +93336,7 @@ var ts;
93332
93336
  output += " - ";
93333
93337
  }
93334
93338
  output += formatColorAndReset(ts.diagnosticCategoryName(diagnostic), getCategoryFormat(diagnostic.category));
93335
- output += formatColorAndReset(" TS" + diagnostic.code + ": ", ForegroundColorEscapeSequences.Grey);
93339
+ output += formatColorAndReset(" TS".concat(diagnostic.code, ": "), ForegroundColorEscapeSequences.Grey);
93336
93340
  output += flattenDiagnosticMessageText(diagnostic.messageText, host.getNewLine());
93337
93341
  if (diagnostic.file) {
93338
93342
  output += host.getNewLine();
@@ -93432,7 +93436,7 @@ var ts;
93432
93436
  var result = void 0;
93433
93437
  var mode = getModeForResolutionAtIndex(containingFile, i);
93434
93438
  i++;
93435
- var cacheKey = mode !== undefined ? mode + "|" + name : name;
93439
+ var cacheKey = mode !== undefined ? "".concat(mode, "|").concat(name) : name;
93436
93440
  if (cache.has(cacheKey)) {
93437
93441
  result = cache.get(cacheKey);
93438
93442
  }
@@ -95205,7 +95209,7 @@ var ts;
95205
95209
  path += (i === 2 ? "/" : "-") + components[i];
95206
95210
  i++;
95207
95211
  }
95208
- var resolveFrom = ts.combinePaths(currentDirectory, "__lib_node_modules_lookup_" + libFileName + "__.ts");
95212
+ var resolveFrom = ts.combinePaths(currentDirectory, "__lib_node_modules_lookup_".concat(libFileName, "__.ts"));
95209
95213
  var localOverrideModuleResult = ts.resolveModuleName("@typescript/lib-" + path, resolveFrom, { moduleResolution: ts.ModuleResolutionKind.NodeJs }, host, moduleResolutionCache);
95210
95214
  if (localOverrideModuleResult === null || localOverrideModuleResult === void 0 ? void 0 : localOverrideModuleResult.resolvedModule) {
95211
95215
  return localOverrideModuleResult.resolvedModule.resolvedFileName;
@@ -95974,10 +95978,10 @@ var ts;
95974
95978
  }
95975
95979
  function directoryExistsIfProjectReferenceDeclDir(dir) {
95976
95980
  var dirPath = host.toPath(dir);
95977
- var dirPathWithTrailingDirectorySeparator = "" + dirPath + ts.directorySeparator;
95981
+ var dirPathWithTrailingDirectorySeparator = "".concat(dirPath).concat(ts.directorySeparator);
95978
95982
  return ts.forEachKey(setOfDeclarationDirectories, function (declDirPath) { return dirPath === declDirPath ||
95979
95983
  ts.startsWith(declDirPath, dirPathWithTrailingDirectorySeparator) ||
95980
- ts.startsWith(dirPath, declDirPath + "/"); });
95984
+ ts.startsWith(dirPath, "".concat(declDirPath, "/")); });
95981
95985
  }
95982
95986
  function handleDirectoryCouldBeSymlink(directory) {
95983
95987
  var _a;
@@ -96025,7 +96029,7 @@ var ts;
96025
96029
  var result = fileOrDirectoryExistsUsingSource(fileOrDirectoryPath.replace(directoryPath, symlinkedDirectory.realPath));
96026
96030
  if (isFile && result) {
96027
96031
  var absolutePath = ts.getNormalizedAbsolutePath(fileOrDirectory, host.compilerHost.getCurrentDirectory());
96028
- symlinkCache.setSymlinkedFile(fileOrDirectoryPath, "" + symlinkedDirectory.real + absolutePath.replace(new RegExp(directoryPath, "i"), ""));
96032
+ symlinkCache.setSymlinkedFile(fileOrDirectoryPath, "".concat(symlinkedDirectory.real).concat(absolutePath.replace(new RegExp(directoryPath, "i"), "")));
96029
96033
  }
96030
96034
  return result;
96031
96035
  }) || false;
@@ -96409,7 +96413,7 @@ var ts;
96409
96413
  var emitOutput_1 = getFileEmitOutput(programOfThisState, sourceFile, true, cancellationToken, undefined, true);
96410
96414
  var firstDts_1 = ts.firstOrUndefined(emitOutput_1.outputFiles);
96411
96415
  if (firstDts_1) {
96412
- ts.Debug.assert(ts.fileExtensionIsOneOf(firstDts_1.name, [".d.ts", ".d.mts", ".d.cts"]), "File extension for signature expected to be dts", function () { return "Found: " + ts.getAnyExtensionFromPath(firstDts_1.name) + " for " + firstDts_1.name + ":: All output files: " + JSON.stringify(emitOutput_1.outputFiles.map(function (f) { return f.name; })); });
96416
+ ts.Debug.assert(ts.fileExtensionIsOneOf(firstDts_1.name, [".d.ts", ".d.mts", ".d.cts"]), "File extension for signature expected to be dts", function () { return "Found: ".concat(ts.getAnyExtensionFromPath(firstDts_1.name), " for ").concat(firstDts_1.name, ":: All output files: ").concat(JSON.stringify(emitOutput_1.outputFiles.map(function (f) { return f.name; }))); });
96413
96417
  latestSignature = (computeHash || ts.generateDjb2Hash)(firstDts_1.text);
96414
96418
  if (exportedModulesMapCache && latestSignature !== prevSignature) {
96415
96419
  updateExportedModules(sourceFile, emitOutput_1.exportedModulesFromDeclarationEmit, exportedModulesMapCache);
@@ -96805,7 +96809,7 @@ var ts;
96805
96809
  return;
96806
96810
  }
96807
96811
  else {
96808
- ts.Debug.assert(state.hasCalledUpdateShapeSignature.has(affectedFile.resolvedPath) || ((_a = state.currentAffectedFilesSignatures) === null || _a === void 0 ? void 0 : _a.has(affectedFile.resolvedPath)), "Signature not updated for affected file: " + affectedFile.fileName);
96812
+ ts.Debug.assert(state.hasCalledUpdateShapeSignature.has(affectedFile.resolvedPath) || ((_a = state.currentAffectedFilesSignatures) === null || _a === void 0 ? void 0 : _a.has(affectedFile.resolvedPath)), "Signature not updated for affected file: ".concat(affectedFile.fileName));
96809
96813
  }
96810
96814
  if (!state.compilerOptions.assumeChangesOnlyAffectDirectDependencies) {
96811
96815
  forEachReferencingModulesOfExportOfAffectedFile(state, affectedFile, function (state, path) { return handleDtsMayChangeOf(state, path, cancellationToken, computeHash); });
@@ -97777,7 +97781,7 @@ var ts;
97777
97781
  failedLookupLocation = ts.isRootedDiskPath(failedLookupLocation) ? ts.normalizePath(failedLookupLocation) : ts.getNormalizedAbsolutePath(failedLookupLocation, getCurrentDirectory());
97778
97782
  var failedLookupPathSplit = failedLookupLocationPath.split(ts.directorySeparator);
97779
97783
  var failedLookupSplit = failedLookupLocation.split(ts.directorySeparator);
97780
- ts.Debug.assert(failedLookupSplit.length === failedLookupPathSplit.length, "FailedLookup: " + failedLookupLocation + " failedLookupLocationPath: " + failedLookupLocationPath);
97784
+ ts.Debug.assert(failedLookupSplit.length === failedLookupPathSplit.length, "FailedLookup: ".concat(failedLookupLocation, " failedLookupLocationPath: ").concat(failedLookupLocationPath));
97781
97785
  if (failedLookupPathSplit.length > rootSplitLength + 1) {
97782
97786
  return {
97783
97787
  dir: failedLookupSplit.slice(0, rootSplitLength + 1).join(ts.directorySeparator),
@@ -98616,13 +98620,15 @@ var ts;
98616
98620
  var moduleFileToTry = path;
98617
98621
  if (host.fileExists(packageJsonPath)) {
98618
98622
  var packageJsonContent = JSON.parse(host.readFile(packageJsonPath));
98619
- var fromExports = packageJsonContent.exports && typeof packageJsonContent.name === "string" ? tryGetModuleNameFromExports(options, path, packageRootPath, packageJsonContent.name, packageJsonContent.exports, ["node", "types"]) : undefined;
98620
- if (fromExports) {
98621
- var withJsExtension = !ts.hasTSFileExtension(fromExports.moduleFileToTry) ? fromExports : { moduleFileToTry: ts.removeFileExtension(fromExports.moduleFileToTry) + tryGetJSExtensionForFile(fromExports.moduleFileToTry, options) };
98622
- return __assign(__assign({}, withJsExtension), { verbatimFromExports: true });
98623
- }
98624
- if (packageJsonContent.exports) {
98625
- return { moduleFileToTry: path, blockedByExports: true };
98623
+ if (ts.getEmitModuleResolutionKind(options) === ts.ModuleResolutionKind.Node12 || ts.getEmitModuleResolutionKind(options) === ts.ModuleResolutionKind.NodeNext) {
98624
+ var fromExports = packageJsonContent.exports && typeof packageJsonContent.name === "string" ? tryGetModuleNameFromExports(options, path, packageRootPath, packageJsonContent.name, packageJsonContent.exports, ["node", "types"]) : undefined;
98625
+ if (fromExports) {
98626
+ var withJsExtension = !ts.hasTSFileExtension(fromExports.moduleFileToTry) ? fromExports : { moduleFileToTry: ts.removeFileExtension(fromExports.moduleFileToTry) + tryGetJSExtensionForFile(fromExports.moduleFileToTry, options) };
98627
+ return __assign(__assign({}, withJsExtension), { verbatimFromExports: true });
98628
+ }
98629
+ if (packageJsonContent.exports) {
98630
+ return { moduleFileToTry: path, blockedByExports: true };
98631
+ }
98626
98632
  }
98627
98633
  var versionPaths = packageJsonContent.typesVersions
98628
98634
  ? ts.getPackageJsonTypesVersionsPaths(packageJsonContent.typesVersions)
@@ -98731,7 +98737,7 @@ var ts;
98731
98737
  }
98732
98738
  function getJSExtensionForFile(fileName, options) {
98733
98739
  var _a;
98734
- return (_a = tryGetJSExtensionForFile(fileName, options)) !== null && _a !== void 0 ? _a : ts.Debug.fail("Extension " + ts.extensionFromPath(fileName) + " is unsupported:: FileName:: " + fileName);
98740
+ return (_a = tryGetJSExtensionForFile(fileName, options)) !== null && _a !== void 0 ? _a : ts.Debug.fail("Extension ".concat(ts.extensionFromPath(fileName), " is unsupported:: FileName:: ").concat(fileName));
98735
98741
  }
98736
98742
  function tryGetJSExtensionForFile(fileName, options) {
98737
98743
  var ext = ts.tryGetExtensionFromPath(fileName);
@@ -98821,8 +98827,8 @@ var ts;
98821
98827
  return pretty ?
98822
98828
  function (diagnostic, newLine, options) {
98823
98829
  clearScreenIfNotWatchingForFileChanges(system, diagnostic, options);
98824
- var output = "[" + ts.formatColorAndReset(getLocaleTimeString(system), ts.ForegroundColorEscapeSequences.Grey) + "] ";
98825
- output += "" + ts.flattenDiagnosticMessageText(diagnostic.messageText, system.newLine) + (newLine + newLine);
98830
+ var output = "[".concat(ts.formatColorAndReset(getLocaleTimeString(system), ts.ForegroundColorEscapeSequences.Grey), "] ");
98831
+ output += "".concat(ts.flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)).concat(newLine + newLine);
98826
98832
  system.write(output);
98827
98833
  } :
98828
98834
  function (diagnostic, newLine, options) {
@@ -98830,8 +98836,8 @@ var ts;
98830
98836
  if (!clearScreenIfNotWatchingForFileChanges(system, diagnostic, options)) {
98831
98837
  output += newLine;
98832
98838
  }
98833
- output += getLocaleTimeString(system) + " - ";
98834
- output += "" + ts.flattenDiagnosticMessageText(diagnostic.messageText, system.newLine) + getPlainDiagnosticFollowingNewLines(diagnostic, newLine);
98839
+ output += "".concat(getLocaleTimeString(system), " - ");
98840
+ output += "".concat(ts.flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)).concat(getPlainDiagnosticFollowingNewLines(diagnostic, newLine));
98835
98841
  system.write(output);
98836
98842
  };
98837
98843
  }
@@ -98858,7 +98864,7 @@ var ts;
98858
98864
  if (errorCount === 0)
98859
98865
  return "";
98860
98866
  var d = ts.createCompilerDiagnostic(errorCount === 1 ? ts.Diagnostics.Found_1_error : ts.Diagnostics.Found_0_errors, errorCount);
98861
- return "" + newLine + ts.flattenDiagnosticMessageText(d.messageText, newLine) + newLine + newLine;
98867
+ return "".concat(newLine).concat(ts.flattenDiagnosticMessageText(d.messageText, newLine)).concat(newLine).concat(newLine);
98862
98868
  }
98863
98869
  ts.getErrorSummaryText = getErrorSummaryText;
98864
98870
  function isBuilderProgram(program) {
@@ -98884,9 +98890,9 @@ var ts;
98884
98890
  var relativeFileName = function (fileName) { return ts.convertToRelativePath(fileName, program.getCurrentDirectory(), getCanonicalFileName); };
98885
98891
  for (var _i = 0, _c = program.getSourceFiles(); _i < _c.length; _i++) {
98886
98892
  var file = _c[_i];
98887
- write("" + toFileName(file, relativeFileName));
98888
- (_a = reasons.get(file.path)) === null || _a === void 0 ? void 0 : _a.forEach(function (reason) { return write(" " + fileIncludeReasonToDiagnostics(program, reason, relativeFileName).messageText); });
98889
- (_b = explainIfFileIsRedirect(file, relativeFileName)) === null || _b === void 0 ? void 0 : _b.forEach(function (d) { return write(" " + d.messageText); });
98893
+ write("".concat(toFileName(file, relativeFileName)));
98894
+ (_a = reasons.get(file.path)) === null || _a === void 0 ? void 0 : _a.forEach(function (reason) { return write(" ".concat(fileIncludeReasonToDiagnostics(program, reason, relativeFileName).messageText)); });
98895
+ (_b = explainIfFileIsRedirect(file, relativeFileName)) === null || _b === void 0 ? void 0 : _b.forEach(function (d) { return write(" ".concat(d.messageText)); });
98890
98896
  }
98891
98897
  }
98892
98898
  ts.explainFiles = explainFiles;
@@ -98924,7 +98930,7 @@ var ts;
98924
98930
  if (isJsonFile && !ts.endsWith(includeSpec, ".json"))
98925
98931
  return false;
98926
98932
  var pattern = ts.getPatternFromSpec(includeSpec, basePath, "files");
98927
- return !!pattern && ts.getRegexFromPattern("(" + pattern + ")$", useCaseSensitiveFileNames).test(fileName);
98933
+ return !!pattern && ts.getRegexFromPattern("(".concat(pattern, ")$"), useCaseSensitiveFileNames).test(fileName);
98928
98934
  });
98929
98935
  }
98930
98936
  ts.getMatchedIncludeSpec = getMatchedIncludeSpec;
@@ -98933,7 +98939,7 @@ var ts;
98933
98939
  var options = program.getCompilerOptions();
98934
98940
  if (ts.isReferencedFile(reason)) {
98935
98941
  var referenceLocation = ts.getReferencedFileLocation(function (path) { return program.getSourceFileByPath(path); }, reason);
98936
- var referenceText = ts.isReferenceFileLocation(referenceLocation) ? referenceLocation.file.text.substring(referenceLocation.pos, referenceLocation.end) : "\"" + referenceLocation.text + "\"";
98942
+ var referenceText = ts.isReferenceFileLocation(referenceLocation) ? referenceLocation.file.text.substring(referenceLocation.pos, referenceLocation.end) : "\"".concat(referenceLocation.text, "\"");
98937
98943
  var message = void 0;
98938
98944
  ts.Debug.assert(ts.isReferenceFileLocation(referenceLocation) || reason.kind === ts.FileIncludeKind.Import, "Only synthetic references are imports");
98939
98945
  switch (reason.kind) {
@@ -99044,7 +99050,7 @@ var ts;
99044
99050
  var currentDir_1 = program.getCurrentDirectory();
99045
99051
  ts.forEach(emittedFiles, function (file) {
99046
99052
  var filepath = ts.getNormalizedAbsolutePath(file, currentDir_1);
99047
- write("TSFILE: " + filepath);
99053
+ write("TSFILE: ".concat(filepath));
99048
99054
  });
99049
99055
  listFiles(program, write);
99050
99056
  }
@@ -99350,7 +99356,7 @@ var ts;
99350
99356
  }
99351
99357
  var _b = ts.createWatchFactory(host, compilerOptions), watchFile = _b.watchFile, watchDirectory = _b.watchDirectory, writeLog = _b.writeLog;
99352
99358
  var getCanonicalFileName = ts.createGetCanonicalFileName(useCaseSensitiveFileNames);
99353
- writeLog("Current directory: " + currentDirectory + " CaseSensitiveFileNames: " + useCaseSensitiveFileNames);
99359
+ writeLog("Current directory: ".concat(currentDirectory, " CaseSensitiveFileNames: ").concat(useCaseSensitiveFileNames));
99354
99360
  var configFileWatcher;
99355
99361
  if (configFileName) {
99356
99362
  configFileWatcher = watchFile(configFileName, scheduleProgramReload, ts.PollingInterval.High, watchOptions, ts.WatchType.ConfigFile);
@@ -99490,10 +99496,10 @@ var ts;
99490
99496
  }
99491
99497
  function createNewProgram(hasInvalidatedResolution) {
99492
99498
  writeLog("CreatingProgramWith::");
99493
- writeLog(" roots: " + JSON.stringify(rootFileNames));
99494
- writeLog(" options: " + JSON.stringify(compilerOptions));
99499
+ writeLog(" roots: ".concat(JSON.stringify(rootFileNames)));
99500
+ writeLog(" options: ".concat(JSON.stringify(compilerOptions)));
99495
99501
  if (projectReferences)
99496
- writeLog(" projectReferences: " + JSON.stringify(projectReferences));
99502
+ writeLog(" projectReferences: ".concat(JSON.stringify(projectReferences)));
99497
99503
  var needsUpdateInTypeRootWatch = hasChangedCompilerOptions || !getCurrentProgram();
99498
99504
  hasChangedCompilerOptions = false;
99499
99505
  hasChangedConfigFileParsingErrors = false;
@@ -99635,7 +99641,7 @@ var ts;
99635
99641
  return resolutionCache.invalidateResolutionsOfFailedLookupLocations();
99636
99642
  }
99637
99643
  var pending = clearInvalidateResolutionsOfFailedLookupLocations();
99638
- writeLog("Scheduling invalidateFailedLookup" + (pending ? ", Cancelled earlier one" : ""));
99644
+ writeLog("Scheduling invalidateFailedLookup".concat(pending ? ", Cancelled earlier one" : ""));
99639
99645
  timerToInvalidateFailedLookupResolutions = host.setTimeout(invalidateResolutionsOfFailedLookup, 250);
99640
99646
  }
99641
99647
  function invalidateResolutionsOfFailedLookup() {
@@ -99691,7 +99697,7 @@ var ts;
99691
99697
  synchronizeProgram();
99692
99698
  }
99693
99699
  function reloadConfigFile() {
99694
- writeLog("Reloading config file: " + configFileName);
99700
+ writeLog("Reloading config file: ".concat(configFileName));
99695
99701
  reloadLevel = ts.ConfigFileProgramReloadLevel.None;
99696
99702
  if (cachedDirectoryStructureHost) {
99697
99703
  cachedDirectoryStructureHost.clearCache();
@@ -99729,7 +99735,7 @@ var ts;
99729
99735
  return config.parsedCommandLine;
99730
99736
  }
99731
99737
  }
99732
- writeLog("Loading config file: " + configFileName);
99738
+ writeLog("Loading config file: ".concat(configFileName));
99733
99739
  var parsedCommandLine = host.getParsedCommandLine ?
99734
99740
  host.getParsedCommandLine(configFileName) :
99735
99741
  getParsedCommandLineFromConfigFileHost(configFileName);
@@ -99982,8 +99988,8 @@ var ts;
99982
99988
  ts.getBuildOrderFromAnyBuildOrder = getBuildOrderFromAnyBuildOrder;
99983
99989
  function createBuilderStatusReporter(system, pretty) {
99984
99990
  return function (diagnostic) {
99985
- var output = pretty ? "[" + ts.formatColorAndReset(ts.getLocaleTimeString(system), ts.ForegroundColorEscapeSequences.Grey) + "] " : ts.getLocaleTimeString(system) + " - ";
99986
- output += "" + ts.flattenDiagnosticMessageText(diagnostic.messageText, system.newLine) + (system.newLine + system.newLine);
99991
+ var output = pretty ? "[".concat(ts.formatColorAndReset(ts.getLocaleTimeString(system), ts.ForegroundColorEscapeSequences.Grey), "] ") : "".concat(ts.getLocaleTimeString(system), " - ");
99992
+ output += "".concat(ts.flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)).concat(system.newLine + system.newLine);
99987
99993
  system.write(output);
99988
99994
  };
99989
99995
  }
@@ -100726,7 +100732,7 @@ var ts;
100726
100732
  function listEmittedFile(_a, proj, file) {
100727
100733
  var write = _a.write;
100728
100734
  if (write && proj.options.listEmittedFiles) {
100729
- write("TSFILE: " + file);
100735
+ write("TSFILE: ".concat(file));
100730
100736
  }
100731
100737
  }
100732
100738
  function getOldProgram(_a, proj, parsed) {
@@ -100755,7 +100761,7 @@ var ts;
100755
100761
  function buildErrors(state, resolvedPath, program, config, diagnostics, buildResult, errorType) {
100756
100762
  var canEmitBuildInfo = !(buildResult & BuildResultFlags.SyntaxErrors) && program && !ts.outFile(program.getCompilerOptions());
100757
100763
  reportAndStoreErrors(state, resolvedPath, diagnostics);
100758
- state.projectStatus.set(resolvedPath, { type: ts.UpToDateStatusType.Unbuildable, reason: errorType + " errors" });
100764
+ state.projectStatus.set(resolvedPath, { type: ts.UpToDateStatusType.Unbuildable, reason: "".concat(errorType, " errors") });
100759
100765
  if (canEmitBuildInfo)
100760
100766
  return { buildResult: buildResult, step: BuildStep.EmitBuildInfo };
100761
100767
  afterProgramDone(state, program, config);
@@ -100781,7 +100787,7 @@ var ts;
100781
100787
  if (!host.fileExists(inputFile)) {
100782
100788
  return {
100783
100789
  type: ts.UpToDateStatusType.Unbuildable,
100784
- reason: inputFile + " does not exist"
100790
+ reason: "".concat(inputFile, " does not exist")
100785
100791
  };
100786
100792
  }
100787
100793
  if (!force) {
@@ -101106,7 +101112,7 @@ var ts;
101106
101112
  }
101107
101113
  }
101108
101114
  if (filesToDelete) {
101109
- reportStatus(state, ts.Diagnostics.A_non_dry_build_would_delete_the_following_files_Colon_0, filesToDelete.map(function (f) { return "\r\n * " + f; }).join(""));
101115
+ reportStatus(state, ts.Diagnostics.A_non_dry_build_would_delete_the_following_files_Colon_0, filesToDelete.map(function (f) { return "\r\n * ".concat(f); }).join(""));
101110
101116
  }
101111
101117
  return ts.ExitStatus.Success;
101112
101118
  }
@@ -101451,7 +101457,7 @@ var ts;
101451
101457
  };
101452
101458
  }
101453
101459
  function bold(str) {
101454
- return "\u001B[1m" + str + "\u001B[22m";
101460
+ return "\u001B[1m".concat(str, "\u001B[22m");
101455
101461
  }
101456
101462
  var isWindows = sys.getEnvironmentVariable("OS") && ts.stringContains(sys.getEnvironmentVariable("OS").toLowerCase(), "windows");
101457
101463
  var isWindowsTerminal = sys.getEnvironmentVariable("WT_SESSION");
@@ -101460,19 +101466,19 @@ var ts;
101460
101466
  if (isWindows && !isWindowsTerminal && !isVSCode) {
101461
101467
  return brightWhite(str);
101462
101468
  }
101463
- return "\u001B[94m" + str + "\u001B[39m";
101469
+ return "\u001B[94m".concat(str, "\u001B[39m");
101464
101470
  }
101465
101471
  var supportsRicherColors = sys.getEnvironmentVariable("COLORTERM") === "truecolor" || sys.getEnvironmentVariable("TERM") === "xterm-256color";
101466
101472
  function blueBackground(str) {
101467
101473
  if (supportsRicherColors) {
101468
- return "\u001B[48;5;68m" + str + "\u001B[39;49m";
101474
+ return "\u001B[48;5;68m".concat(str, "\u001B[39;49m");
101469
101475
  }
101470
101476
  else {
101471
- return "\u001B[44m" + str + "\u001B[39;49m";
101477
+ return "\u001B[44m".concat(str, "\u001B[39;49m");
101472
101478
  }
101473
101479
  }
101474
101480
  function brightWhite(str) {
101475
- return "\u001B[97m" + str + "\u001B[39m";
101481
+ return "\u001B[97m".concat(str, "\u001B[39m");
101476
101482
  }
101477
101483
  return {
101478
101484
  bold: bold,
@@ -101482,7 +101488,7 @@ var ts;
101482
101488
  };
101483
101489
  }
101484
101490
  function getDisplayNameTextOfOption(option) {
101485
- return "--" + option.name + (option.shortName ? ", -" + option.shortName : "");
101491
+ return "--".concat(option.name).concat(option.shortName ? ", -".concat(option.shortName) : "");
101486
101492
  }
101487
101493
  function generateOptionOutput(sys, option, rightAlignOfLeft, leftAlignOfRight) {
101488
101494
  var _a, _b;
@@ -101517,13 +101523,13 @@ var ts;
101517
101523
  text.push(sys.newLine);
101518
101524
  if (showAdditionalInfoOutput(valueCandidates, option)) {
101519
101525
  if (valueCandidates) {
101520
- text.push(valueCandidates.valueType + " " + valueCandidates.possibleValues);
101526
+ text.push("".concat(valueCandidates.valueType, " ").concat(valueCandidates.possibleValues));
101521
101527
  }
101522
101528
  if (defaultValueDescription) {
101523
101529
  if (valueCandidates)
101524
101530
  text.push(sys.newLine);
101525
101531
  var diagType = ts.getDiagnosticText(ts.Diagnostics.default_Colon);
101526
- text.push(diagType + " " + defaultValueDescription);
101532
+ text.push("".concat(diagType, " ").concat(defaultValueDescription));
101527
101533
  }
101528
101534
  text.push(sys.newLine);
101529
101535
  }
@@ -101558,7 +101564,7 @@ var ts;
101558
101564
  }
101559
101565
  var curRight = remainRight.substr(0, rightCharacterNumber);
101560
101566
  remainRight = remainRight.slice(rightCharacterNumber);
101561
- res.push("" + curLeft + curRight);
101567
+ res.push("".concat(curLeft).concat(curRight));
101562
101568
  isFirstLine = false;
101563
101569
  }
101564
101570
  return res;
@@ -101651,7 +101657,7 @@ var ts;
101651
101657
  categoryMap.set(curCategory, optionsOfCurCategory);
101652
101658
  }
101653
101659
  categoryMap.forEach(function (value, key) {
101654
- res.push("### " + key + sys.newLine + sys.newLine);
101660
+ res.push("### ".concat(key).concat(sys.newLine).concat(sys.newLine));
101655
101661
  res = __spreadArray(__spreadArray([], res, true), generateGroupOptionOutput(sys, value), true);
101656
101662
  });
101657
101663
  if (afterOptionsDescription) {
@@ -101661,7 +101667,7 @@ var ts;
101661
101667
  }
101662
101668
  function printEasyHelp(sys, simpleOptions) {
101663
101669
  var colors = createColors(sys);
101664
- var output = __spreadArray([], getHeader(sys, ts.getDiagnosticText(ts.Diagnostics.tsc_Colon_The_TypeScript_Compiler) + " - " + ts.getDiagnosticText(ts.Diagnostics.Version_0, ts.version)), true);
101670
+ var output = __spreadArray([], getHeader(sys, "".concat(ts.getDiagnosticText(ts.Diagnostics.tsc_Colon_The_TypeScript_Compiler), " - ").concat(ts.getDiagnosticText(ts.Diagnostics.Version_0, ts.version))), true);
101665
101671
  output.push(colors.bold(ts.getDiagnosticText(ts.Diagnostics.COMMON_COMMANDS)) + sys.newLine + sys.newLine);
101666
101672
  example("tsc", ts.Diagnostics.Compiles_the_current_project_tsconfig_json_in_the_working_directory);
101667
101673
  example("tsc app.ts util.ts", ts.Diagnostics.Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options);
@@ -101687,7 +101693,7 @@ var ts;
101687
101693
  }
101688
101694
  }
101689
101695
  function printAllHelp(sys, compilerOptions, buildOptions, watchOptions) {
101690
- var output = __spreadArray([], getHeader(sys, ts.getDiagnosticText(ts.Diagnostics.tsc_Colon_The_TypeScript_Compiler) + " - " + ts.getDiagnosticText(ts.Diagnostics.Version_0, ts.version)), true);
101696
+ var output = __spreadArray([], getHeader(sys, "".concat(ts.getDiagnosticText(ts.Diagnostics.tsc_Colon_The_TypeScript_Compiler), " - ").concat(ts.getDiagnosticText(ts.Diagnostics.Version_0, ts.version))), true);
101691
101697
  output = __spreadArray(__spreadArray([], output, true), generateSectionOptionsOutput(sys, ts.getDiagnosticText(ts.Diagnostics.ALL_COMPILER_OPTIONS), compilerOptions, true, undefined, ts.formatMessage(undefined, ts.Diagnostics.You_can_learn_about_all_of_the_compiler_options_at_0, "https://aka.ms/tsconfig-reference")), true);
101692
101698
  output = __spreadArray(__spreadArray([], output, true), generateSectionOptionsOutput(sys, ts.getDiagnosticText(ts.Diagnostics.WATCH_OPTIONS), watchOptions, false, ts.getDiagnosticText(ts.Diagnostics.Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon)), true);
101693
101699
  output = __spreadArray(__spreadArray([], output, true), generateSectionOptionsOutput(sys, ts.getDiagnosticText(ts.Diagnostics.BUILD_OPTIONS), buildOptions, false, ts.formatMessage(undefined, ts.Diagnostics.Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0, "https://aka.ms/tsc-composite-builds")), true);
@@ -101697,7 +101703,7 @@ var ts;
101697
101703
  }
101698
101704
  }
101699
101705
  function printBuildHelp(sys, buildOptions) {
101700
- var output = __spreadArray([], getHeader(sys, ts.getDiagnosticText(ts.Diagnostics.tsc_Colon_The_TypeScript_Compiler) + " - " + ts.getDiagnosticText(ts.Diagnostics.Version_0, ts.version)), true);
101706
+ var output = __spreadArray([], getHeader(sys, "".concat(ts.getDiagnosticText(ts.Diagnostics.tsc_Colon_The_TypeScript_Compiler), " - ").concat(ts.getDiagnosticText(ts.Diagnostics.Version_0, ts.version))), true);
101701
101707
  output = __spreadArray(__spreadArray([], output, true), generateSectionOptionsOutput(sys, ts.getDiagnosticText(ts.Diagnostics.BUILD_OPTIONS), buildOptions, false, ts.formatMessage(undefined, ts.Diagnostics.Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0, "https://aka.ms/tsc-composite-builds")), true);
101702
101708
  for (var _i = 0, output_3 = output; _i < output_3.length; _i++) {
101703
101709
  var line = output_3[_i];
@@ -102078,7 +102084,7 @@ var ts;
102078
102084
  reportCountStatistic("Subtype cache size", caches.subtype);
102079
102085
  reportCountStatistic("Strict subtype cache size", caches.strictSubtype);
102080
102086
  if (isPerformanceEnabled) {
102081
- ts.performance.forEachMeasure(function (name, duration) { return reportTimeStatistic(name + " time", duration); });
102087
+ ts.performance.forEachMeasure(function (name, duration) { return reportTimeStatistic("".concat(name, " time"), duration); });
102082
102088
  }
102083
102089
  }
102084
102090
  else if (isPerformanceEnabled) {
@@ -102149,7 +102155,7 @@ var ts;
102149
102155
  // This file actually uses arguments passed on commandline and executes it
102150
102156
  ts.Debug.loggingHost = {
102151
102157
  log: function (_level, s) {
102152
- ts.sys.write("" + (s || "") + ts.sys.newLine);
102158
+ ts.sys.write("".concat(s || "").concat(ts.sys.newLine));
102153
102159
  }
102154
102160
  };
102155
102161
  if (ts.Debug.isDebugging) {