typescript 4.8.0-dev.20220808 → 4.8.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
@@ -22,7 +22,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
22
22
  ar[i] = from[i];
23
23
  }
24
24
  }
25
- return to.concat(ar || from);
25
+ return to.concat(ar || Array.prototype.slice.call(from));
26
26
  };
27
27
  var __assign = (this && this.__assign) || function () {
28
28
  __assign = Object.assign || function(t) {
@@ -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.8";
72
- ts.version = ts.versionMajorMinor + ".0-dev.20220808";
72
+ ts.version = "4.8.2";
73
73
  var NativeCollections;
74
74
  (function (NativeCollections) {
75
75
  var globals = typeof globalThis !== "undefined" ? globalThis :
@@ -94,7 +94,7 @@ var ts;
94
94
  var constructor = (_a = NativeCollections[nativeFactory]()) !== null && _a !== void 0 ? _a : ts.ShimCollections === null || ts.ShimCollections === void 0 ? void 0 : ts.ShimCollections[shimFactory](ts.getIterator);
95
95
  if (constructor)
96
96
  return constructor;
97
- throw new Error("TypeScript requires an environment that provides a compatible native " + name + " implementation.");
97
+ throw new Error("TypeScript requires an environment that provides a compatible native ".concat(name, " implementation."));
98
98
  }
99
99
  })(ts || (ts = {}));
100
100
  var ts;
@@ -1479,7 +1479,7 @@ var ts;
1479
1479
  function cast(value, test) {
1480
1480
  if (value !== undefined && test(value))
1481
1481
  return value;
1482
- return ts.Debug.fail("Invalid cast. The supplied value " + value + " did not pass the test '" + ts.Debug.getFunctionName(test) + "'.");
1482
+ return ts.Debug.fail("Invalid cast. The supplied value ".concat(value, " did not pass the test '").concat(ts.Debug.getFunctionName(test), "'."));
1483
1483
  }
1484
1484
  ts.cast = cast;
1485
1485
  function noop(_) { }
@@ -1533,7 +1533,7 @@ var ts;
1533
1533
  function memoizeOne(callback) {
1534
1534
  var map = new ts.Map();
1535
1535
  return function (arg) {
1536
- var key = typeof arg + ":" + arg;
1536
+ var key = "".concat(typeof arg, ":").concat(arg);
1537
1537
  var value = map.get(key);
1538
1538
  if (value === undefined && !map.has(key)) {
1539
1539
  value = callback(arg);
@@ -1868,7 +1868,7 @@ var ts;
1868
1868
  ts.createGetCanonicalFileName = createGetCanonicalFileName;
1869
1869
  function patternText(_a) {
1870
1870
  var prefix = _a.prefix, suffix = _a.suffix;
1871
- return prefix + "*" + suffix;
1871
+ return "".concat(prefix, "*").concat(suffix);
1872
1872
  }
1873
1873
  ts.patternText = patternText;
1874
1874
  function matchedText(pattern, candidate) {
@@ -2071,6 +2071,7 @@ var ts;
2071
2071
  var currentAssertionLevel = 0;
2072
2072
  Debug.currentLogLevel = LogLevel.Warning;
2073
2073
  Debug.isDebugging = false;
2074
+ Debug.enableDeprecationWarnings = true;
2074
2075
  function getTypeScriptVersion() {
2075
2076
  return typeScriptVersion !== null && typeScriptVersion !== void 0 ? typeScriptVersion : (typeScriptVersion = new ts.Version(ts.version));
2076
2077
  }
@@ -2140,7 +2141,7 @@ var ts;
2140
2141
  }
2141
2142
  function fail(message, stackCrawlMark) {
2142
2143
  debugger;
2143
- var e = new Error(message ? "Debug Failure. " + message : "Debug Failure.");
2144
+ var e = new Error(message ? "Debug Failure. ".concat(message) : "Debug Failure.");
2144
2145
  if (Error.captureStackTrace) {
2145
2146
  Error.captureStackTrace(e, stackCrawlMark || fail);
2146
2147
  }
@@ -2148,12 +2149,12 @@ var ts;
2148
2149
  }
2149
2150
  Debug.fail = fail;
2150
2151
  function failBadSyntaxKind(node, message, stackCrawlMark) {
2151
- return fail((message || "Unexpected node.") + "\r\nNode " + formatSyntaxKind(node.kind) + " was unexpected.", stackCrawlMark || failBadSyntaxKind);
2152
+ return fail("".concat(message || "Unexpected node.", "\r\nNode ").concat(formatSyntaxKind(node.kind), " was unexpected."), stackCrawlMark || failBadSyntaxKind);
2152
2153
  }
2153
2154
  Debug.failBadSyntaxKind = failBadSyntaxKind;
2154
2155
  function assert(expression, message, verboseDebugInfo, stackCrawlMark) {
2155
2156
  if (!expression) {
2156
- message = message ? "False expression: " + message : "False expression.";
2157
+ message = message ? "False expression: ".concat(message) : "False expression.";
2157
2158
  if (verboseDebugInfo) {
2158
2159
  message += "\r\nVerbose Debug Information: " + (typeof verboseDebugInfo === "string" ? verboseDebugInfo : verboseDebugInfo());
2159
2160
  }
@@ -2163,26 +2164,26 @@ var ts;
2163
2164
  Debug.assert = assert;
2164
2165
  function assertEqual(a, b, msg, msg2, stackCrawlMark) {
2165
2166
  if (a !== b) {
2166
- var message = msg ? msg2 ? msg + " " + msg2 : msg : "";
2167
- fail("Expected " + a + " === " + b + ". " + message, stackCrawlMark || assertEqual);
2167
+ var message = msg ? msg2 ? "".concat(msg, " ").concat(msg2) : msg : "";
2168
+ fail("Expected ".concat(a, " === ").concat(b, ". ").concat(message), stackCrawlMark || assertEqual);
2168
2169
  }
2169
2170
  }
2170
2171
  Debug.assertEqual = assertEqual;
2171
2172
  function assertLessThan(a, b, msg, stackCrawlMark) {
2172
2173
  if (a >= b) {
2173
- fail("Expected " + a + " < " + b + ". " + (msg || ""), stackCrawlMark || assertLessThan);
2174
+ fail("Expected ".concat(a, " < ").concat(b, ". ").concat(msg || ""), stackCrawlMark || assertLessThan);
2174
2175
  }
2175
2176
  }
2176
2177
  Debug.assertLessThan = assertLessThan;
2177
2178
  function assertLessThanOrEqual(a, b, stackCrawlMark) {
2178
2179
  if (a > b) {
2179
- fail("Expected " + a + " <= " + b, stackCrawlMark || assertLessThanOrEqual);
2180
+ fail("Expected ".concat(a, " <= ").concat(b), stackCrawlMark || assertLessThanOrEqual);
2180
2181
  }
2181
2182
  }
2182
2183
  Debug.assertLessThanOrEqual = assertLessThanOrEqual;
2183
2184
  function assertGreaterThanOrEqual(a, b, stackCrawlMark) {
2184
2185
  if (a < b) {
2185
- fail("Expected " + a + " >= " + b, stackCrawlMark || assertGreaterThanOrEqual);
2186
+ fail("Expected ".concat(a, " >= ").concat(b), stackCrawlMark || assertGreaterThanOrEqual);
2186
2187
  }
2187
2188
  }
2188
2189
  Debug.assertGreaterThanOrEqual = assertGreaterThanOrEqual;
@@ -2212,42 +2213,42 @@ var ts;
2212
2213
  function assertNever(member, message, stackCrawlMark) {
2213
2214
  if (message === void 0) { message = "Illegal value:"; }
2214
2215
  var detail = typeof member === "object" && ts.hasProperty(member, "kind") && ts.hasProperty(member, "pos") ? "SyntaxKind: " + formatSyntaxKind(member.kind) : JSON.stringify(member);
2215
- return fail(message + " " + detail, stackCrawlMark || assertNever);
2216
+ return fail("".concat(message, " ").concat(detail), stackCrawlMark || assertNever);
2216
2217
  }
2217
2218
  Debug.assertNever = assertNever;
2218
2219
  function assertEachNode(nodes, test, message, stackCrawlMark) {
2219
2220
  if (shouldAssertFunction(1, "assertEachNode")) {
2220
- assert(test === undefined || ts.every(nodes, test), message || "Unexpected node.", function () { return "Node array did not pass test '" + getFunctionName(test) + "'."; }, stackCrawlMark || assertEachNode);
2221
+ assert(test === undefined || ts.every(nodes, test), message || "Unexpected node.", function () { return "Node array did not pass test '".concat(getFunctionName(test), "'."); }, stackCrawlMark || assertEachNode);
2221
2222
  }
2222
2223
  }
2223
2224
  Debug.assertEachNode = assertEachNode;
2224
2225
  function assertNode(node, test, message, stackCrawlMark) {
2225
2226
  if (shouldAssertFunction(1, "assertNode")) {
2226
- 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);
2227
+ 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);
2227
2228
  }
2228
2229
  }
2229
2230
  Debug.assertNode = assertNode;
2230
2231
  function assertNotNode(node, test, message, stackCrawlMark) {
2231
2232
  if (shouldAssertFunction(1, "assertNotNode")) {
2232
- 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);
2233
+ 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);
2233
2234
  }
2234
2235
  }
2235
2236
  Debug.assertNotNode = assertNotNode;
2236
2237
  function assertOptionalNode(node, test, message, stackCrawlMark) {
2237
2238
  if (shouldAssertFunction(1, "assertOptionalNode")) {
2238
- 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);
2239
+ 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);
2239
2240
  }
2240
2241
  }
2241
2242
  Debug.assertOptionalNode = assertOptionalNode;
2242
2243
  function assertOptionalToken(node, kind, message, stackCrawlMark) {
2243
2244
  if (shouldAssertFunction(1, "assertOptionalToken")) {
2244
- 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);
2245
+ 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);
2245
2246
  }
2246
2247
  }
2247
2248
  Debug.assertOptionalToken = assertOptionalToken;
2248
2249
  function assertMissingNode(node, message, stackCrawlMark) {
2249
2250
  if (shouldAssertFunction(1, "assertMissingNode")) {
2250
- assert(node === undefined, message || "Unexpected node.", function () { return "Node " + formatSyntaxKind(node.kind) + " was unexpected'."; }, stackCrawlMark || assertMissingNode);
2251
+ assert(node === undefined, message || "Unexpected node.", function () { return "Node ".concat(formatSyntaxKind(node.kind), " was unexpected'."); }, stackCrawlMark || assertMissingNode);
2251
2252
  }
2252
2253
  }
2253
2254
  Debug.assertMissingNode = assertMissingNode;
@@ -2268,7 +2269,7 @@ var ts;
2268
2269
  }
2269
2270
  Debug.getFunctionName = getFunctionName;
2270
2271
  function formatSymbol(symbol) {
2271
- return "{ name: " + ts.unescapeLeadingUnderscores(symbol.escapedName) + "; flags: " + formatSymbolFlags(symbol.flags) + "; declarations: " + ts.map(symbol.declarations, function (node) { return formatSyntaxKind(node.kind); }) + " }";
2272
+ return "{ name: ".concat(ts.unescapeLeadingUnderscores(symbol.escapedName), "; flags: ").concat(formatSymbolFlags(symbol.flags), "; declarations: ").concat(ts.map(symbol.declarations, function (node) { return formatSyntaxKind(node.kind); }), " }");
2272
2273
  }
2273
2274
  Debug.formatSymbol = formatSymbol;
2274
2275
  function formatEnum(value, enumObject, isFlags) {
@@ -2418,7 +2419,7 @@ var ts;
2418
2419
  this.flags & 1 ? "FlowUnreachable" :
2419
2420
  "UnknownFlow";
2420
2421
  var remainingFlags = this.flags & ~(2048 - 1);
2421
- return "" + flowHeader + (remainingFlags ? " (" + formatFlowFlags(remainingFlags) + ")" : "");
2422
+ return "".concat(flowHeader).concat(remainingFlags ? " (".concat(formatFlowFlags(remainingFlags), ")") : "");
2422
2423
  }
2423
2424
  },
2424
2425
  __debugFlowFlags: { get: function () { return formatEnum(this.flags, ts.FlowFlags, true); } },
@@ -2448,7 +2449,7 @@ var ts;
2448
2449
  __tsDebuggerDisplay: {
2449
2450
  value: function (defaultValue) {
2450
2451
  defaultValue = String(defaultValue).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/, "]");
2451
- return "NodeArray " + defaultValue;
2452
+ return "NodeArray ".concat(defaultValue);
2452
2453
  }
2453
2454
  }
2454
2455
  });
@@ -2494,7 +2495,7 @@ var ts;
2494
2495
  var symbolHeader = this.flags & 33554432 ? "TransientSymbol" :
2495
2496
  "Symbol";
2496
2497
  var remainingSymbolFlags = this.flags & ~33554432;
2497
- return symbolHeader + " '" + ts.symbolName(this) + "'" + (remainingSymbolFlags ? " (" + formatSymbolFlags(remainingSymbolFlags) + ")" : "");
2498
+ return "".concat(symbolHeader, " '").concat(ts.symbolName(this), "'").concat(remainingSymbolFlags ? " (".concat(formatSymbolFlags(remainingSymbolFlags), ")") : "");
2498
2499
  }
2499
2500
  },
2500
2501
  __debugFlags: { get: function () { return formatSymbolFlags(this.flags); } }
@@ -2503,11 +2504,11 @@ var ts;
2503
2504
  __tsDebuggerDisplay: {
2504
2505
  value: function () {
2505
2506
  var typeHeader = this.flags & 98304 ? "NullableType" :
2506
- this.flags & 384 ? "LiteralType " + JSON.stringify(this.value) :
2507
- this.flags & 2048 ? "LiteralType " + (this.value.negative ? "-" : "") + this.value.base10Value + "n" :
2507
+ this.flags & 384 ? "LiteralType ".concat(JSON.stringify(this.value)) :
2508
+ this.flags & 2048 ? "LiteralType ".concat(this.value.negative ? "-" : "").concat(this.value.base10Value, "n") :
2508
2509
  this.flags & 8192 ? "UniqueESSymbolType" :
2509
2510
  this.flags & 32 ? "EnumType" :
2510
- this.flags & 67359327 ? "IntrinsicType " + this.intrinsicName :
2511
+ this.flags & 67359327 ? "IntrinsicType ".concat(this.intrinsicName) :
2511
2512
  this.flags & 1048576 ? "UnionType" :
2512
2513
  this.flags & 2097152 ? "IntersectionType" :
2513
2514
  this.flags & 4194304 ? "IndexType" :
@@ -2526,7 +2527,7 @@ var ts;
2526
2527
  "ObjectType" :
2527
2528
  "Type";
2528
2529
  var remainingObjectFlags = this.flags & 524288 ? this.objectFlags & ~1343 : 0;
2529
- return "" + typeHeader + (this.symbol ? " '" + ts.symbolName(this.symbol) + "'" : "") + (remainingObjectFlags ? " (" + formatObjectFlags(remainingObjectFlags) + ")" : "");
2530
+ return "".concat(typeHeader).concat(this.symbol ? " '".concat(ts.symbolName(this.symbol), "'") : "").concat(remainingObjectFlags ? " (".concat(formatObjectFlags(remainingObjectFlags), ")") : "");
2530
2531
  }
2531
2532
  },
2532
2533
  __debugFlags: { get: function () { return formatTypeFlags(this.flags); } },
@@ -2560,11 +2561,11 @@ var ts;
2560
2561
  __tsDebuggerDisplay: {
2561
2562
  value: function () {
2562
2563
  var nodeHeader = ts.isGeneratedIdentifier(this) ? "GeneratedIdentifier" :
2563
- ts.isIdentifier(this) ? "Identifier '" + ts.idText(this) + "'" :
2564
- ts.isPrivateIdentifier(this) ? "PrivateIdentifier '" + ts.idText(this) + "'" :
2565
- ts.isStringLiteral(this) ? "StringLiteral " + JSON.stringify(this.text.length < 10 ? this.text : this.text.slice(10) + "...") :
2566
- ts.isNumericLiteral(this) ? "NumericLiteral " + this.text :
2567
- ts.isBigIntLiteral(this) ? "BigIntLiteral " + this.text + "n" :
2564
+ ts.isIdentifier(this) ? "Identifier '".concat(ts.idText(this), "'") :
2565
+ ts.isPrivateIdentifier(this) ? "PrivateIdentifier '".concat(ts.idText(this), "'") :
2566
+ ts.isStringLiteral(this) ? "StringLiteral ".concat(JSON.stringify(this.text.length < 10 ? this.text : this.text.slice(10) + "...")) :
2567
+ ts.isNumericLiteral(this) ? "NumericLiteral ".concat(this.text) :
2568
+ ts.isBigIntLiteral(this) ? "BigIntLiteral ".concat(this.text, "n") :
2568
2569
  ts.isTypeParameterDeclaration(this) ? "TypeParameterDeclaration" :
2569
2570
  ts.isParameter(this) ? "ParameterDeclaration" :
2570
2571
  ts.isConstructorDeclaration(this) ? "ConstructorDeclaration" :
@@ -2596,7 +2597,7 @@ var ts;
2596
2597
  ts.isNamedTupleMember(this) ? "NamedTupleMember" :
2597
2598
  ts.isImportTypeNode(this) ? "ImportTypeNode" :
2598
2599
  formatSyntaxKind(this.kind);
2599
- return "" + nodeHeader + (this.flags ? " (" + formatNodeFlags(this.flags) + ")" : "");
2600
+ return "".concat(nodeHeader).concat(this.flags ? " (".concat(formatNodeFlags(this.flags), ")") : "");
2600
2601
  }
2601
2602
  },
2602
2603
  __debugKind: { get: function () { return formatSyntaxKind(this.kind); } },
@@ -2640,10 +2641,10 @@ var ts;
2640
2641
  Debug.enableDebugInfo = enableDebugInfo;
2641
2642
  function formatDeprecationMessage(name, error, errorAfter, since, message) {
2642
2643
  var deprecationMessage = error ? "DeprecationError: " : "DeprecationWarning: ";
2643
- deprecationMessage += "'" + name + "' ";
2644
- deprecationMessage += since ? "has been deprecated since v" + since : "is deprecated";
2645
- deprecationMessage += error ? " and can no longer be used." : errorAfter ? " and will no longer be usable after v" + errorAfter + "." : ".";
2646
- deprecationMessage += message ? " " + ts.formatStringFromArgs(message, [name], 0) : "";
2644
+ deprecationMessage += "'".concat(name, "' ");
2645
+ deprecationMessage += since ? "has been deprecated since v".concat(since) : "is deprecated";
2646
+ deprecationMessage += error ? " and can no longer be used." : errorAfter ? " and will no longer be usable after v".concat(errorAfter, ".") : ".";
2647
+ deprecationMessage += message ? " ".concat(ts.formatStringFromArgs(message, [name], 0)) : "";
2647
2648
  return deprecationMessage;
2648
2649
  }
2649
2650
  function createErrorDeprecation(name, errorAfter, since, message) {
@@ -2655,7 +2656,7 @@ var ts;
2655
2656
  function createWarningDeprecation(name, errorAfter, since, message) {
2656
2657
  var hasWrittenDeprecation = false;
2657
2658
  return function () {
2658
- if (!hasWrittenDeprecation) {
2659
+ if (Debug.enableDeprecationWarnings && !hasWrittenDeprecation) {
2659
2660
  log.warn(formatDeprecationMessage(name, false, errorAfter, since, message));
2660
2661
  hasWrittenDeprecation = true;
2661
2662
  }
@@ -2711,11 +2712,11 @@ var ts;
2711
2712
  type(this);
2712
2713
  switch (this.kind) {
2713
2714
  case 3: return ((_a = this.debugInfo) === null || _a === void 0 ? void 0 : _a.call(this)) || "(function mapper)";
2714
- case 0: return this.source.__debugTypeToString() + " -> " + this.target.__debugTypeToString();
2715
- case 1: return ts.zipWith(this.sources, this.targets || ts.map(this.sources, function () { return "any"; }), function (s, t) { return s.__debugTypeToString() + " -> " + (typeof t === "string" ? t : t.__debugTypeToString()); }).join(", ");
2716
- case 2: return ts.zipWith(this.sources, this.targets, function (s, t) { return s.__debugTypeToString() + " -> " + t().__debugTypeToString(); }).join(", ");
2715
+ case 0: return "".concat(this.source.__debugTypeToString(), " -> ").concat(this.target.__debugTypeToString());
2716
+ case 1: return ts.zipWith(this.sources, this.targets || ts.map(this.sources, function () { return "any"; }), function (s, t) { return "".concat(s.__debugTypeToString(), " -> ").concat(typeof t === "string" ? t : t.__debugTypeToString()); }).join(", ");
2717
+ case 2: return ts.zipWith(this.sources, this.targets, function (s, t) { return "".concat(s.__debugTypeToString(), " -> ").concat(t().__debugTypeToString()); }).join(", ");
2717
2718
  case 5:
2718
- case 4: return "m1: " + this.mapper1.__debugToString().split("\n").join("\n ") + "\nm2: " + this.mapper2.__debugToString().split("\n").join("\n ");
2719
+ case 4: return "m1: ".concat(this.mapper1.__debugToString().split("\n").join("\n "), "\nm2: ").concat(this.mapper2.__debugToString().split("\n").join("\n "));
2719
2720
  default: return assertNever(this);
2720
2721
  }
2721
2722
  };
@@ -2784,11 +2785,11 @@ var ts;
2784
2785
  }
2785
2786
  };
2786
2787
  Version.prototype.toString = function () {
2787
- var result = this.major + "." + this.minor + "." + this.patch;
2788
+ var result = "".concat(this.major, ".").concat(this.minor, ".").concat(this.patch);
2788
2789
  if (ts.some(this.prerelease))
2789
- result += "-" + this.prerelease.join(".");
2790
+ result += "-".concat(this.prerelease.join("."));
2790
2791
  if (ts.some(this.build))
2791
- result += "+" + this.build.join(".");
2792
+ result += "+".concat(this.build.join("."));
2792
2793
  return result;
2793
2794
  };
2794
2795
  Version.zero = new Version(0, 0, 0);
@@ -3010,7 +3011,7 @@ var ts;
3010
3011
  return ts.map(comparators, formatComparator).join(" ");
3011
3012
  }
3012
3013
  function formatComparator(comparator) {
3013
- return "" + comparator.operator + comparator.operand;
3014
+ return "".concat(comparator.operator).concat(comparator.operand);
3014
3015
  }
3015
3016
  })(ts || (ts = {}));
3016
3017
  var ts;
@@ -3239,7 +3240,7 @@ var ts;
3239
3240
  fs = require("fs");
3240
3241
  }
3241
3242
  catch (e) {
3242
- throw new Error("tracing requires having fs\n(original error: " + (e.message || e) + ")");
3243
+ throw new Error("tracing requires having fs\n(original error: ".concat(e.message || e, ")"));
3243
3244
  }
3244
3245
  }
3245
3246
  mode = tracingMode;
@@ -3250,11 +3251,11 @@ var ts;
3250
3251
  if (!fs.existsSync(traceDir)) {
3251
3252
  fs.mkdirSync(traceDir, { recursive: true });
3252
3253
  }
3253
- var countPart = mode === "build" ? "." + process.pid + "-" + ++traceCount
3254
- : mode === "server" ? "." + process.pid
3254
+ var countPart = mode === "build" ? ".".concat(process.pid, "-").concat(++traceCount)
3255
+ : mode === "server" ? ".".concat(process.pid)
3255
3256
  : "";
3256
- var tracePath = ts.combinePaths(traceDir, "trace" + countPart + ".json");
3257
- var typesPath = ts.combinePaths(traceDir, "types" + countPart + ".json");
3257
+ var tracePath = ts.combinePaths(traceDir, "trace".concat(countPart, ".json"));
3258
+ var typesPath = ts.combinePaths(traceDir, "types".concat(countPart, ".json"));
3258
3259
  legend.push({
3259
3260
  configFilePath: configFilePath,
3260
3261
  tracePath: tracePath,
@@ -3323,7 +3324,7 @@ var ts;
3323
3324
  writeEvent("E", phase, name, args, undefined, endTime);
3324
3325
  }
3325
3326
  else if (sampleInterval - (time % sampleInterval) <= endTime - time) {
3326
- writeEvent("X", phase, name, __assign(__assign({}, args), { results: results }), "\"dur\":" + (endTime - time), time);
3327
+ writeEvent("X", phase, name, __assign(__assign({}, args), { results: results }), "\"dur\":".concat(endTime - time), time);
3327
3328
  }
3328
3329
  }
3329
3330
  function writeEvent(eventType, phase, name, args, extras, time) {
@@ -3331,11 +3332,11 @@ var ts;
3331
3332
  if (mode === "server" && phase === "checkTypes")
3332
3333
  return;
3333
3334
  ts.performance.mark("beginTracing");
3334
- fs.writeSync(traceFd, ",\n{\"pid\":1,\"tid\":1,\"ph\":\"" + eventType + "\",\"cat\":\"" + phase + "\",\"ts\":" + time + ",\"name\":\"" + name + "\"");
3335
+ fs.writeSync(traceFd, ",\n{\"pid\":1,\"tid\":1,\"ph\":\"".concat(eventType, "\",\"cat\":\"").concat(phase, "\",\"ts\":").concat(time, ",\"name\":\"").concat(name, "\""));
3335
3336
  if (extras)
3336
- fs.writeSync(traceFd, "," + extras);
3337
+ fs.writeSync(traceFd, ",".concat(extras));
3337
3338
  if (args)
3338
- fs.writeSync(traceFd, ",\"args\":" + JSON.stringify(args));
3339
+ fs.writeSync(traceFd, ",\"args\":".concat(JSON.stringify(args)));
3339
3340
  fs.writeSync(traceFd, "}");
3340
3341
  ts.performance.mark("endTracing");
3341
3342
  ts.performance.measure("Tracing", "beginTracing", "endTracing");
@@ -3662,7 +3663,7 @@ var ts;
3662
3663
  pollingChunkSize = getCustomPollingBasedLevels("TSC_WATCH_POLLINGCHUNKSIZE", defaultChunkLevels) || pollingChunkSize;
3663
3664
  ts.unchangedPollThresholds = getCustomPollingBasedLevels("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS", defaultChunkLevels) || ts.unchangedPollThresholds;
3664
3665
  function getLevel(envVar, level) {
3665
- return system.getEnvironmentVariable(envVar + "_" + level.toUpperCase());
3666
+ return system.getEnvironmentVariable("".concat(envVar, "_").concat(level.toUpperCase()));
3666
3667
  }
3667
3668
  function getCustomLevels(baseVariable) {
3668
3669
  var customLevels;
@@ -4086,7 +4087,7 @@ var ts;
4086
4087
  }
4087
4088
  function onTimerToUpdateChildWatches() {
4088
4089
  timerToUpdateChildWatches = undefined;
4089
- sysLog("sysLog:: onTimerToUpdateChildWatches:: " + cacheToUpdateChildWatches.size);
4090
+ sysLog("sysLog:: onTimerToUpdateChildWatches:: ".concat(cacheToUpdateChildWatches.size));
4090
4091
  var start = ts.timestamp();
4091
4092
  var invokeMap = new ts.Map();
4092
4093
  while (!timerToUpdateChildWatches && cacheToUpdateChildWatches.size) {
@@ -4097,7 +4098,7 @@ var ts;
4097
4098
  var hasChanges = updateChildWatches(dirName, dirPath, options);
4098
4099
  invokeCallbacks(dirPath, invokeMap, hasChanges ? undefined : fileNames);
4099
4100
  }
4100
- sysLog("sysLog:: invokingWatchers:: Elapsed:: " + (ts.timestamp() - start) + "ms:: " + cacheToUpdateChildWatches.size);
4101
+ sysLog("sysLog:: invokingWatchers:: Elapsed:: ".concat(ts.timestamp() - start, "ms:: ").concat(cacheToUpdateChildWatches.size));
4101
4102
  callbackCache.forEach(function (callbacks, rootDirName) {
4102
4103
  var existing = invokeMap.get(rootDirName);
4103
4104
  if (existing) {
@@ -4113,7 +4114,7 @@ var ts;
4113
4114
  }
4114
4115
  });
4115
4116
  var elapsed = ts.timestamp() - start;
4116
- sysLog("sysLog:: Elapsed:: " + elapsed + "ms:: onTimerToUpdateChildWatches:: " + cacheToUpdateChildWatches.size + " " + timerToUpdateChildWatches);
4117
+ sysLog("sysLog:: Elapsed:: ".concat(elapsed, "ms:: onTimerToUpdateChildWatches:: ").concat(cacheToUpdateChildWatches.size, " ").concat(timerToUpdateChildWatches));
4117
4118
  }
4118
4119
  function removeChildWatches(parentWatcher) {
4119
4120
  if (!parentWatcher)
@@ -4329,14 +4330,14 @@ var ts;
4329
4330
  };
4330
4331
  function updateWatcher(createWatcher) {
4331
4332
  if (watcher) {
4332
- sysLog("sysLog:: " + fileOrDirectory + ":: Changing watcher to " + (createWatcher === watchPresentFileSystemEntry ? "Present" : "Missing") + "FileSystemEntryWatcher");
4333
+ sysLog("sysLog:: ".concat(fileOrDirectory, ":: Changing watcher to ").concat(createWatcher === watchPresentFileSystemEntry ? "Present" : "Missing", "FileSystemEntryWatcher"));
4333
4334
  watcher.close();
4334
4335
  watcher = createWatcher();
4335
4336
  }
4336
4337
  }
4337
4338
  function watchPresentFileSystemEntry() {
4338
4339
  if (hitSystemWatcherLimit) {
4339
- sysLog("sysLog:: " + fileOrDirectory + ":: Defaulting to watchFile");
4340
+ sysLog("sysLog:: ".concat(fileOrDirectory, ":: Defaulting to watchFile"));
4340
4341
  return watchPresentFileSystemEntryWithFsWatchFile();
4341
4342
  }
4342
4343
  try {
@@ -4351,7 +4352,7 @@ var ts;
4351
4352
  }
4352
4353
  catch (e) {
4353
4354
  hitSystemWatcherLimit || (hitSystemWatcherLimit = e.code === "ENOSPC");
4354
- sysLog("sysLog:: " + fileOrDirectory + ":: Changing to watchFile");
4355
+ sysLog("sysLog:: ".concat(fileOrDirectory, ":: Changing to watchFile"));
4355
4356
  return watchPresentFileSystemEntryWithFsWatchFile();
4356
4357
  }
4357
4358
  }
@@ -4424,7 +4425,6 @@ var ts;
4424
4425
  ts.sys = (function () {
4425
4426
  var byteOrderMarkIndicator = "\uFEFF";
4426
4427
  function getNodeSystem() {
4427
- var _a;
4428
4428
  var nativePattern = /^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/;
4429
4429
  var _fs = require("fs");
4430
4430
  var _path = require("path");
@@ -4433,7 +4433,7 @@ var ts;
4433
4433
  try {
4434
4434
  _crypto = require("crypto");
4435
4435
  }
4436
- catch (_b) {
4436
+ catch (_a) {
4437
4437
  _crypto = undefined;
4438
4438
  }
4439
4439
  var activeSession;
@@ -4444,10 +4444,10 @@ var ts;
4444
4444
  var isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
4445
4445
  var platform = _os.platform();
4446
4446
  var useCaseSensitiveFileNames = isFileSystemCaseSensitive();
4447
- var realpathSync = (_a = _fs.realpathSync.native) !== null && _a !== void 0 ? _a : _fs.realpathSync;
4447
+ var fsRealpath = !!_fs.realpathSync.native ? process.platform === "win32" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;
4448
4448
  var fsSupportsRecursiveFsWatch = isNode4OrLater && (process.platform === "win32" || process.platform === "darwin");
4449
4449
  var getCurrentDirectory = ts.memoize(function () { return process.cwd(); });
4450
- var _c = createSystemWatchFunctions({
4450
+ var _b = createSystemWatchFunctions({
4451
4451
  pollingWatchFile: createSingleFileWatcherPerName(fsWatchFileWorker, useCaseSensitiveFileNames),
4452
4452
  getModifiedTime: getModifiedTime,
4453
4453
  setTimeout: setTimeout,
@@ -4465,7 +4465,7 @@ var ts;
4465
4465
  defaultWatchFileKind: function () { var _a, _b; return (_b = (_a = sys).defaultWatchFileKind) === null || _b === void 0 ? void 0 : _b.call(_a); },
4466
4466
  inodeWatching: isLinuxOrMacOs,
4467
4467
  sysLog: sysLog,
4468
- }), watchFile = _c.watchFile, watchDirectory = _c.watchDirectory;
4468
+ }), watchFile = _b.watchFile, watchDirectory = _b.watchDirectory;
4469
4469
  var nodeSystem = {
4470
4470
  args: process.argv.slice(2),
4471
4471
  newLine: _os.EOL,
@@ -4595,7 +4595,7 @@ var ts;
4595
4595
  var externalFileCounter = 0;
4596
4596
  var remappedPaths = new ts.Map();
4597
4597
  var normalizedDir = ts.normalizeSlashes(__dirname);
4598
- var fileUrlRoot = "file://" + (ts.getRootLength(normalizedDir) === 1 ? "" : "/") + normalizedDir;
4598
+ var fileUrlRoot = "file://".concat(ts.getRootLength(normalizedDir) === 1 ? "" : "/").concat(normalizedDir);
4599
4599
  for (var _i = 0, _a = profile.nodes; _i < _a.length; _i++) {
4600
4600
  var node = _a[_i];
4601
4601
  if (node.callFrame.url) {
@@ -4604,7 +4604,7 @@ var ts;
4604
4604
  node.callFrame.url = ts.getRelativePathToDirectoryOrUrl(fileUrlRoot, url, fileUrlRoot, ts.createGetCanonicalFileName(useCaseSensitiveFileNames), true);
4605
4605
  }
4606
4606
  else if (!nativePattern.test(url)) {
4607
- node.callFrame.url = (remappedPaths.has(url) ? remappedPaths : remappedPaths.set(url, "external" + externalFileCounter + ".js")).get(url);
4607
+ node.callFrame.url = (remappedPaths.has(url) ? remappedPaths : remappedPaths.set(url, "external".concat(externalFileCounter, ".js"))).get(url);
4608
4608
  externalFileCounter++;
4609
4609
  }
4610
4610
  }
@@ -4620,7 +4620,7 @@ var ts;
4620
4620
  if (!err) {
4621
4621
  try {
4622
4622
  if ((_b = statSync(profilePath)) === null || _b === void 0 ? void 0 : _b.isDirectory()) {
4623
- profilePath = _path.join(profilePath, (new Date()).toISOString().replace(/:/g, "-") + "+P" + process.pid + ".cpuprofile");
4623
+ profilePath = _path.join(profilePath, "".concat((new Date()).toISOString().replace(/:/g, "-"), "+P").concat(process.pid, ".cpuprofile"));
4624
4624
  }
4625
4625
  }
4626
4626
  catch (_c) {
@@ -4815,9 +4815,12 @@ var ts;
4815
4815
  function getDirectories(path) {
4816
4816
  return getAccessibleFileSystemEntries(path).directories.slice();
4817
4817
  }
4818
+ function fsRealPathHandlingLongPath(path) {
4819
+ return path.length < 260 ? _fs.realpathSync.native(path) : _fs.realpathSync(path);
4820
+ }
4818
4821
  function realpath(path) {
4819
4822
  try {
4820
- return realpathSync(path);
4823
+ return fsRealpath(path);
4821
4824
  }
4822
4825
  catch (_a) {
4823
4826
  return path;
@@ -7416,7 +7419,7 @@ var ts;
7416
7419
  line = line < 0 ? 0 : line >= lineStarts.length ? lineStarts.length - 1 : line;
7417
7420
  }
7418
7421
  else {
7419
- ts.Debug.fail("Bad line number. Line: " + line + ", lineStarts.length: " + lineStarts.length + " , line map is correct? " + (debugText !== undefined ? ts.arraysEqual(lineStarts, computeLineStarts(debugText)) : "unknown"));
7422
+ 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"));
7420
7423
  }
7421
7424
  }
7422
7425
  var res = lineStarts[line] + character;
@@ -9943,7 +9946,7 @@ var ts;
9943
9946
  : "linkplain";
9944
9947
  var name = link.name ? ts.entityNameToString(link.name) : "";
9945
9948
  var space = link.name && link.text.startsWith("://") ? "" : " ";
9946
- return "{@" + kind + " " + name + space + link.text + "}";
9949
+ return "{@".concat(kind, " ").concat(name).concat(space).concat(link.text, "}");
9947
9950
  }
9948
9951
  function getEffectiveTypeParameterDeclarations(node) {
9949
9952
  if (ts.isJSDocSignature(node)) {
@@ -11070,11 +11073,11 @@ var ts;
11070
11073
  }
11071
11074
  function packageIdToPackageName(_a) {
11072
11075
  var name = _a.name, subModuleName = _a.subModuleName;
11073
- return subModuleName ? name + "/" + subModuleName : name;
11076
+ return subModuleName ? "".concat(name, "/").concat(subModuleName) : name;
11074
11077
  }
11075
11078
  ts.packageIdToPackageName = packageIdToPackageName;
11076
11079
  function packageIdToString(packageId) {
11077
- return packageIdToPackageName(packageId) + "@" + packageId.version;
11080
+ return "".concat(packageIdToPackageName(packageId), "@").concat(packageId.version);
11078
11081
  }
11079
11082
  ts.packageIdToString = packageIdToString;
11080
11083
  function typeDirectiveIsEqualTo(oldResolution, newResolution) {
@@ -11151,7 +11154,7 @@ var ts;
11151
11154
  function nodePosToString(node) {
11152
11155
  var file = getSourceFileOfNode(node);
11153
11156
  var loc = ts.getLineAndCharacterOfPosition(file, node.pos);
11154
- return file.fileName + "(" + (loc.line + 1) + "," + (loc.character + 1) + ")";
11157
+ return "".concat(file.fileName, "(").concat(loc.line + 1, ",").concat(loc.character + 1, ")");
11155
11158
  }
11156
11159
  ts.nodePosToString = nodePosToString;
11157
11160
  function getEndLinePosition(line, sourceFile) {
@@ -11252,7 +11255,7 @@ var ts;
11252
11255
  ts.isPinnedComment = isPinnedComment;
11253
11256
  function createCommentDirectivesMap(sourceFile, commentDirectives) {
11254
11257
  var directivesByLine = new ts.Map(commentDirectives.map(function (commentDirective) { return ([
11255
- "" + ts.getLineAndCharacterOfPosition(sourceFile, commentDirective.range.end).line,
11258
+ "".concat(ts.getLineAndCharacterOfPosition(sourceFile, commentDirective.range.end).line),
11256
11259
  commentDirective,
11257
11260
  ]); }));
11258
11261
  var usedLines = new ts.Map();
@@ -11269,10 +11272,10 @@ var ts;
11269
11272
  });
11270
11273
  }
11271
11274
  function markUsed(line) {
11272
- if (!directivesByLine.has("" + line)) {
11275
+ if (!directivesByLine.has("".concat(line))) {
11273
11276
  return false;
11274
11277
  }
11275
- usedLines.set("" + line, true);
11278
+ usedLines.set("".concat(line), true);
11276
11279
  return true;
11277
11280
  }
11278
11281
  }
@@ -11472,7 +11475,7 @@ var ts;
11472
11475
  }
11473
11476
  return node.text;
11474
11477
  }
11475
- return ts.Debug.fail("Literal kind '" + node.kind + "' not accounted for.");
11478
+ return ts.Debug.fail("Literal kind '".concat(node.kind, "' not accounted for."));
11476
11479
  }
11477
11480
  ts.getLiteralText = getLiteralText;
11478
11481
  function canUseOriginalText(node, flags) {
@@ -13831,11 +13834,11 @@ var ts;
13831
13834
  }
13832
13835
  ts.getEscapedTextOfIdentifierOrLiteral = getEscapedTextOfIdentifierOrLiteral;
13833
13836
  function getPropertyNameForUniqueESSymbol(symbol) {
13834
- return "__@" + ts.getSymbolId(symbol) + "@" + symbol.escapedName;
13837
+ return "__@".concat(ts.getSymbolId(symbol), "@").concat(symbol.escapedName);
13835
13838
  }
13836
13839
  ts.getPropertyNameForUniqueESSymbol = getPropertyNameForUniqueESSymbol;
13837
13840
  function getSymbolNameForPrivateIdentifier(containingClassSymbol, description) {
13838
- return "__#" + ts.getSymbolId(containingClassSymbol) + "@" + description;
13841
+ return "__#".concat(ts.getSymbolId(containingClassSymbol), "@").concat(description);
13839
13842
  }
13840
13843
  ts.getSymbolNameForPrivateIdentifier = getSymbolNameForPrivateIdentifier;
13841
13844
  function isKnownSymbol(symbol) {
@@ -16232,7 +16235,7 @@ var ts;
16232
16235
  }
16233
16236
  ts.getJSXImplicitImportBase = getJSXImplicitImportBase;
16234
16237
  function getJSXRuntimeImport(base, options) {
16235
- return base ? base + "/" + (options.jsx === 5 ? "jsx-dev-runtime" : "jsx-runtime") : undefined;
16238
+ return base ? "".concat(base, "/").concat(options.jsx === 5 ? "jsx-dev-runtime" : "jsx-runtime") : undefined;
16236
16239
  }
16237
16240
  ts.getJSXRuntimeImport = getJSXRuntimeImport;
16238
16241
  function hasZeroOrOneAsteriskCharacter(str) {
@@ -16330,15 +16333,15 @@ var ts;
16330
16333
  }
16331
16334
  var wildcardCharCodes = [42, 63];
16332
16335
  ts.commonPackageFolders = ["node_modules", "bower_components", "jspm_packages"];
16333
- var implicitExcludePathRegexPattern = "(?!(" + ts.commonPackageFolders.join("|") + ")(/|$))";
16336
+ var implicitExcludePathRegexPattern = "(?!(".concat(ts.commonPackageFolders.join("|"), ")(/|$))");
16334
16337
  var filesMatcher = {
16335
16338
  singleAsteriskRegexFragment: "([^./]|(\\.(?!min\\.js$))?)*",
16336
- doubleAsteriskRegexFragment: "(/" + implicitExcludePathRegexPattern + "[^/.][^/]*)*?",
16339
+ doubleAsteriskRegexFragment: "(/".concat(implicitExcludePathRegexPattern, "[^/.][^/]*)*?"),
16337
16340
  replaceWildcardCharacter: function (match) { return replaceWildcardCharacter(match, filesMatcher.singleAsteriskRegexFragment); }
16338
16341
  };
16339
16342
  var directoriesMatcher = {
16340
16343
  singleAsteriskRegexFragment: "[^/]*",
16341
- doubleAsteriskRegexFragment: "(/" + implicitExcludePathRegexPattern + "[^/.][^/]*)*?",
16344
+ doubleAsteriskRegexFragment: "(/".concat(implicitExcludePathRegexPattern, "[^/.][^/]*)*?"),
16342
16345
  replaceWildcardCharacter: function (match) { return replaceWildcardCharacter(match, directoriesMatcher.singleAsteriskRegexFragment); }
16343
16346
  };
16344
16347
  var excludeMatcher = {
@@ -16356,9 +16359,9 @@ var ts;
16356
16359
  if (!patterns || !patterns.length) {
16357
16360
  return undefined;
16358
16361
  }
16359
- var pattern = patterns.map(function (pattern) { return "(" + pattern + ")"; }).join("|");
16362
+ var pattern = patterns.map(function (pattern) { return "(".concat(pattern, ")"); }).join("|");
16360
16363
  var terminator = usage === "exclude" ? "($|/)" : "$";
16361
- return "^(" + pattern + ")" + terminator;
16364
+ return "^(".concat(pattern, ")").concat(terminator);
16362
16365
  }
16363
16366
  ts.getRegularExpressionForWildcard = getRegularExpressionForWildcard;
16364
16367
  function getRegularExpressionsForWildcards(specs, basePath, usage) {
@@ -16376,7 +16379,7 @@ var ts;
16376
16379
  ts.isImplicitGlob = isImplicitGlob;
16377
16380
  function getPatternFromSpec(spec, basePath, usage) {
16378
16381
  var pattern = spec && getSubPatternFromSpec(spec, basePath, usage, wildcardMatchers[usage]);
16379
- return pattern && "^(" + pattern + ")" + (usage === "exclude" ? "($|/)" : "$");
16382
+ return pattern && "^(".concat(pattern, ")").concat(usage === "exclude" ? "($|/)" : "$");
16380
16383
  }
16381
16384
  ts.getPatternFromSpec = getPatternFromSpec;
16382
16385
  function getSubPatternFromSpec(spec, basePath, usage, _a) {
@@ -16442,7 +16445,7 @@ var ts;
16442
16445
  currentDirectory = ts.normalizePath(currentDirectory);
16443
16446
  var absolutePath = ts.combinePaths(currentDirectory, path);
16444
16447
  return {
16445
- includeFilePatterns: ts.map(getRegularExpressionsForWildcards(includes, absolutePath, "files"), function (pattern) { return "^" + pattern + "$"; }),
16448
+ includeFilePatterns: ts.map(getRegularExpressionsForWildcards(includes, absolutePath, "files"), function (pattern) { return "^".concat(pattern, "$"); }),
16446
16449
  includeFilePattern: getRegularExpressionForWildcard(includes, absolutePath, "files"),
16447
16450
  includeDirectoryPattern: getRegularExpressionForWildcard(includes, absolutePath, "directories"),
16448
16451
  excludePattern: getRegularExpressionForWildcard(excludes, absolutePath, "exclude"),
@@ -16688,7 +16691,7 @@ var ts;
16688
16691
  ts.resolutionExtensionIsTSOrJson = resolutionExtensionIsTSOrJson;
16689
16692
  function extensionFromPath(path) {
16690
16693
  var ext = tryGetExtensionFromPath(path);
16691
- return ext !== undefined ? ext : ts.Debug.fail("File " + path + " has unknown extension.");
16694
+ return ext !== undefined ? ext : ts.Debug.fail("File ".concat(path, " has unknown extension."));
16692
16695
  }
16693
16696
  ts.extensionFromPath = extensionFromPath;
16694
16697
  function isAnySupportedFileExtension(path) {
@@ -17025,7 +17028,7 @@ var ts;
17025
17028
  case 165: {
17026
17029
  var parent_2 = node.parent;
17027
17030
  return ts.canHaveDecorators(parent_2) ? parent_2.modifiers :
17028
- ts.canHaveIllegalDecorators(parent_2) ? parent_2.decorators :
17031
+ ts.canHaveIllegalDecorators(parent_2) ? parent_2.illegalDecorators :
17029
17032
  undefined;
17030
17033
  }
17031
17034
  case 291:
@@ -18726,7 +18729,7 @@ var ts;
18726
18729
  var node = createBaseGenericNamedDeclaration(170, undefined, undefined, undefined);
18727
18730
  node.body = body;
18728
18731
  node.transformFlags = propagateChildFlags(body) | 16777216;
18729
- node.decorators = undefined;
18732
+ node.illegalDecorators = undefined;
18730
18733
  node.modifiers = undefined;
18731
18734
  return node;
18732
18735
  }
@@ -18737,7 +18740,7 @@ var ts;
18737
18740
  }
18738
18741
  function finishUpdateClassStaticBlockDeclaration(updated, original) {
18739
18742
  if (updated !== original) {
18740
- updated.decorators = original.decorators;
18743
+ updated.illegalDecorators = original.illegalDecorators;
18741
18744
  updated.modifiers = original.modifiers;
18742
18745
  }
18743
18746
  return update(updated, original);
@@ -18745,7 +18748,7 @@ var ts;
18745
18748
  function createConstructorDeclaration(modifiers, parameters, body) {
18746
18749
  var node = createBaseFunctionLikeDeclaration(171, modifiers, undefined, undefined, parameters, undefined, body);
18747
18750
  node.transformFlags |= 1024;
18748
- node.decorators = undefined;
18751
+ node.illegalDecorators = undefined;
18749
18752
  node.typeParameters = undefined;
18750
18753
  node.type = undefined;
18751
18754
  return node;
@@ -18759,7 +18762,7 @@ var ts;
18759
18762
  }
18760
18763
  function finishUpdateConstructorDeclaration(updated, original) {
18761
18764
  if (updated !== original) {
18762
- updated.decorators = original.decorators;
18765
+ updated.illegalDecorators = original.illegalDecorators;
18763
18766
  updated.typeParameters = original.typeParameters;
18764
18767
  updated.type = original.type;
18765
18768
  }
@@ -20274,7 +20277,7 @@ var ts;
20274
20277
  node.transformFlags |= 2048;
20275
20278
  }
20276
20279
  }
20277
- node.decorators = undefined;
20280
+ node.illegalDecorators = undefined;
20278
20281
  return node;
20279
20282
  }
20280
20283
  function updateFunctionDeclaration(node, modifiers, asteriskToken, name, typeParameters, parameters, type, body) {
@@ -20290,7 +20293,7 @@ var ts;
20290
20293
  }
20291
20294
  function finishUpdateFunctionDeclaration(updated, original) {
20292
20295
  if (updated !== original) {
20293
- updated.decorators = original.decorators;
20296
+ updated.illegalDecorators = original.illegalDecorators;
20294
20297
  }
20295
20298
  return finishUpdateBaseSignatureDeclaration(updated, original);
20296
20299
  }
@@ -20320,7 +20323,7 @@ var ts;
20320
20323
  var node = createBaseInterfaceOrClassLikeDeclaration(258, modifiers, name, typeParameters, heritageClauses);
20321
20324
  node.members = createNodeArray(members);
20322
20325
  node.transformFlags = 1;
20323
- node.decorators = undefined;
20326
+ node.illegalDecorators = undefined;
20324
20327
  return node;
20325
20328
  }
20326
20329
  function updateInterfaceDeclaration(node, modifiers, name, typeParameters, heritageClauses, members) {
@@ -20334,7 +20337,7 @@ var ts;
20334
20337
  }
20335
20338
  function finishUpdateInterfaceDeclaration(updated, original) {
20336
20339
  if (updated !== original) {
20337
- updated.decorators = original.decorators;
20340
+ updated.illegalDecorators = original.illegalDecorators;
20338
20341
  }
20339
20342
  return update(updated, original);
20340
20343
  }
@@ -20342,7 +20345,7 @@ var ts;
20342
20345
  var node = createBaseGenericNamedDeclaration(259, modifiers, name, typeParameters);
20343
20346
  node.type = type;
20344
20347
  node.transformFlags = 1;
20345
- node.decorators = undefined;
20348
+ node.illegalDecorators = undefined;
20346
20349
  return node;
20347
20350
  }
20348
20351
  function updateTypeAliasDeclaration(node, modifiers, name, typeParameters, type) {
@@ -20355,7 +20358,7 @@ var ts;
20355
20358
  }
20356
20359
  function finishUpdateTypeAliasDeclaration(updated, original) {
20357
20360
  if (updated !== original) {
20358
- updated.decorators = original.decorators;
20361
+ updated.illegalDecorators = original.illegalDecorators;
20359
20362
  }
20360
20363
  return update(updated, original);
20361
20364
  }
@@ -20366,7 +20369,7 @@ var ts;
20366
20369
  propagateChildrenFlags(node.members) |
20367
20370
  1;
20368
20371
  node.transformFlags &= ~67108864;
20369
- node.decorators = undefined;
20372
+ node.illegalDecorators = undefined;
20370
20373
  return node;
20371
20374
  }
20372
20375
  function updateEnumDeclaration(node, modifiers, name, members) {
@@ -20378,7 +20381,7 @@ var ts;
20378
20381
  }
20379
20382
  function finishUpdateEnumDeclaration(updated, original) {
20380
20383
  if (updated !== original) {
20381
- updated.decorators = original.decorators;
20384
+ updated.illegalDecorators = original.illegalDecorators;
20382
20385
  }
20383
20386
  return update(updated, original);
20384
20387
  }
@@ -20400,7 +20403,7 @@ var ts;
20400
20403
  1;
20401
20404
  }
20402
20405
  node.transformFlags &= ~67108864;
20403
- node.decorators = undefined;
20406
+ node.illegalDecorators = undefined;
20404
20407
  return node;
20405
20408
  }
20406
20409
  function updateModuleDeclaration(node, modifiers, name, body) {
@@ -20412,7 +20415,7 @@ var ts;
20412
20415
  }
20413
20416
  function finishUpdateModuleDeclaration(updated, original) {
20414
20417
  if (updated !== original) {
20415
- updated.decorators = original.decorators;
20418
+ updated.illegalDecorators = original.illegalDecorators;
20416
20419
  }
20417
20420
  return update(updated, original);
20418
20421
  }
@@ -20441,7 +20444,7 @@ var ts;
20441
20444
  function createNamespaceExportDeclaration(name) {
20442
20445
  var node = createBaseNamedDeclaration(264, undefined, name);
20443
20446
  node.transformFlags = 1;
20444
- node.decorators = undefined;
20447
+ node.illegalDecorators = undefined;
20445
20448
  node.modifiers = undefined;
20446
20449
  return node;
20447
20450
  }
@@ -20452,7 +20455,7 @@ var ts;
20452
20455
  }
20453
20456
  function finishUpdateNamespaceExportDeclaration(updated, original) {
20454
20457
  if (updated !== original) {
20455
- updated.decorators = original.decorators;
20458
+ updated.illegalDecorators = original.illegalDecorators;
20456
20459
  updated.modifiers = original.modifiers;
20457
20460
  }
20458
20461
  return update(updated, original);
@@ -20465,7 +20468,7 @@ var ts;
20465
20468
  if (!ts.isExternalModuleReference(node.moduleReference))
20466
20469
  node.transformFlags |= 1;
20467
20470
  node.transformFlags &= ~67108864;
20468
- node.decorators = undefined;
20471
+ node.illegalDecorators = undefined;
20469
20472
  return node;
20470
20473
  }
20471
20474
  function updateImportEqualsDeclaration(node, modifiers, isTypeOnly, name, moduleReference) {
@@ -20478,7 +20481,7 @@ var ts;
20478
20481
  }
20479
20482
  function finishUpdateImportEqualsDeclaration(updated, original) {
20480
20483
  if (updated !== original) {
20481
- updated.decorators = original.decorators;
20484
+ updated.illegalDecorators = original.illegalDecorators;
20482
20485
  }
20483
20486
  return update(updated, original);
20484
20487
  }
@@ -20492,7 +20495,7 @@ var ts;
20492
20495
  propagateChildFlags(node.importClause) |
20493
20496
  propagateChildFlags(node.moduleSpecifier);
20494
20497
  node.transformFlags &= ~67108864;
20495
- node.decorators = undefined;
20498
+ node.illegalDecorators = undefined;
20496
20499
  return node;
20497
20500
  }
20498
20501
  function updateImportDeclaration(node, modifiers, importClause, moduleSpecifier, assertClause) {
@@ -20505,7 +20508,7 @@ var ts;
20505
20508
  }
20506
20509
  function finishUpdateImportDeclaration(updated, original) {
20507
20510
  if (updated !== original) {
20508
- updated.decorators = original.decorators;
20511
+ updated.illegalDecorators = original.illegalDecorators;
20509
20512
  }
20510
20513
  return update(updated, original);
20511
20514
  }
@@ -20633,7 +20636,7 @@ var ts;
20633
20636
  : parenthesizerRules().parenthesizeExpressionOfExportDefault(expression);
20634
20637
  node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.expression);
20635
20638
  node.transformFlags &= ~67108864;
20636
- node.decorators = undefined;
20639
+ node.illegalDecorators = undefined;
20637
20640
  return node;
20638
20641
  }
20639
20642
  function updateExportAssignment(node, modifiers, expression) {
@@ -20644,7 +20647,7 @@ var ts;
20644
20647
  }
20645
20648
  function finishUpdateExportAssignment(updated, original) {
20646
20649
  if (updated !== original) {
20647
- updated.decorators = original.decorators;
20650
+ updated.illegalDecorators = original.illegalDecorators;
20648
20651
  }
20649
20652
  return update(updated, original);
20650
20653
  }
@@ -20660,7 +20663,7 @@ var ts;
20660
20663
  propagateChildFlags(node.exportClause) |
20661
20664
  propagateChildFlags(node.moduleSpecifier);
20662
20665
  node.transformFlags &= ~67108864;
20663
- node.decorators = undefined;
20666
+ node.illegalDecorators = undefined;
20664
20667
  return node;
20665
20668
  }
20666
20669
  function updateExportDeclaration(node, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause) {
@@ -20674,7 +20677,7 @@ var ts;
20674
20677
  }
20675
20678
  function finishUpdateExportDeclaration(updated, original) {
20676
20679
  if (updated !== original) {
20677
- updated.decorators = original.decorators;
20680
+ updated.illegalDecorators = original.illegalDecorators;
20678
20681
  }
20679
20682
  return update(updated, original);
20680
20683
  }
@@ -21293,7 +21296,7 @@ var ts;
21293
21296
  node.transformFlags |=
21294
21297
  propagateChildFlags(node.name) |
21295
21298
  propagateChildFlags(node.initializer);
21296
- node.decorators = undefined;
21299
+ node.illegalDecorators = undefined;
21297
21300
  node.modifiers = undefined;
21298
21301
  node.questionToken = undefined;
21299
21302
  node.exclamationToken = undefined;
@@ -21307,7 +21310,7 @@ var ts;
21307
21310
  }
21308
21311
  function finishUpdatePropertyAssignment(updated, original) {
21309
21312
  if (updated !== original) {
21310
- updated.decorators = original.decorators;
21313
+ updated.illegalDecorators = original.illegalDecorators;
21311
21314
  updated.modifiers = original.modifiers;
21312
21315
  updated.questionToken = original.questionToken;
21313
21316
  updated.exclamationToken = original.exclamationToken;
@@ -21321,7 +21324,7 @@ var ts;
21321
21324
  propagateChildFlags(node.objectAssignmentInitializer) |
21322
21325
  1024;
21323
21326
  node.equalsToken = undefined;
21324
- node.decorators = undefined;
21327
+ node.illegalDecorators = undefined;
21325
21328
  node.modifiers = undefined;
21326
21329
  node.questionToken = undefined;
21327
21330
  node.exclamationToken = undefined;
@@ -21336,7 +21339,7 @@ var ts;
21336
21339
  function finishUpdateShorthandPropertyAssignment(updated, original) {
21337
21340
  if (updated !== original) {
21338
21341
  updated.equalsToken = original.equalsToken;
21339
- updated.decorators = original.decorators;
21342
+ updated.illegalDecorators = original.illegalDecorators;
21340
21343
  updated.modifiers = original.modifiers;
21341
21344
  updated.questionToken = original.questionToken;
21342
21345
  updated.exclamationToken = original.exclamationToken;
@@ -22021,7 +22024,7 @@ var ts;
22021
22024
  case 328: return "augments";
22022
22025
  case 329: return "implements";
22023
22026
  default:
22024
- return ts.Debug.fail("Unsupported kind: " + ts.Debug.formatSyntaxKind(kind));
22027
+ return ts.Debug.fail("Unsupported kind: ".concat(ts.Debug.formatSyntaxKind(kind)));
22025
22028
  }
22026
22029
  }
22027
22030
  var rawTextScanner;
@@ -22348,7 +22351,7 @@ var ts;
22348
22351
  };
22349
22352
  var definedTextGetter_1 = function (path) {
22350
22353
  var result = textGetter_1(path);
22351
- return result !== undefined ? result : "/* Input file " + path + " was missing */\r\n";
22354
+ return result !== undefined ? result : "/* Input file ".concat(path, " was missing */\r\n");
22352
22355
  };
22353
22356
  var buildInfo_1;
22354
22357
  var getAndCacheBuildInfo_1 = function (getText) {
@@ -24529,17 +24532,6 @@ var ts;
24529
24532
  || kind === 173;
24530
24533
  }
24531
24534
  ts.canHaveIllegalTypeParameters = canHaveIllegalTypeParameters;
24532
- function canHaveDecorators(node) {
24533
- var kind = node.kind;
24534
- return kind === 164
24535
- || kind === 167
24536
- || kind === 169
24537
- || kind === 172
24538
- || kind === 173
24539
- || kind === 226
24540
- || kind === 257;
24541
- }
24542
- ts.canHaveDecorators = canHaveDecorators;
24543
24535
  function canHaveIllegalDecorators(node) {
24544
24536
  var kind = node.kind;
24545
24537
  return kind === 296
@@ -24561,35 +24553,6 @@ var ts;
24561
24553
  || kind === 271;
24562
24554
  }
24563
24555
  ts.canHaveIllegalDecorators = canHaveIllegalDecorators;
24564
- function canHaveModifiers(node) {
24565
- var kind = node.kind;
24566
- return kind === 163
24567
- || kind === 164
24568
- || kind === 166
24569
- || kind === 167
24570
- || kind === 168
24571
- || kind === 169
24572
- || kind === 171
24573
- || kind === 172
24574
- || kind === 173
24575
- || kind === 176
24576
- || kind === 180
24577
- || kind === 213
24578
- || kind === 214
24579
- || kind === 226
24580
- || kind === 237
24581
- || kind === 256
24582
- || kind === 257
24583
- || kind === 258
24584
- || kind === 259
24585
- || kind === 260
24586
- || kind === 261
24587
- || kind === 265
24588
- || kind === 266
24589
- || kind === 271
24590
- || kind === 272;
24591
- }
24592
- ts.canHaveModifiers = canHaveModifiers;
24593
24556
  function canHaveIllegalModifiers(node) {
24594
24557
  var kind = node.kind;
24595
24558
  return kind === 170
@@ -24837,6 +24800,46 @@ var ts;
24837
24800
  return location ? ts.setTextRangePosEnd(range, location.pos, location.end) : range;
24838
24801
  }
24839
24802
  ts.setTextRange = setTextRange;
24803
+ function canHaveModifiers(node) {
24804
+ var kind = node.kind;
24805
+ return kind === 163
24806
+ || kind === 164
24807
+ || kind === 166
24808
+ || kind === 167
24809
+ || kind === 168
24810
+ || kind === 169
24811
+ || kind === 171
24812
+ || kind === 172
24813
+ || kind === 173
24814
+ || kind === 176
24815
+ || kind === 180
24816
+ || kind === 213
24817
+ || kind === 214
24818
+ || kind === 226
24819
+ || kind === 237
24820
+ || kind === 256
24821
+ || kind === 257
24822
+ || kind === 258
24823
+ || kind === 259
24824
+ || kind === 260
24825
+ || kind === 261
24826
+ || kind === 265
24827
+ || kind === 266
24828
+ || kind === 271
24829
+ || kind === 272;
24830
+ }
24831
+ ts.canHaveModifiers = canHaveModifiers;
24832
+ function canHaveDecorators(node) {
24833
+ var kind = node.kind;
24834
+ return kind === 164
24835
+ || kind === 167
24836
+ || kind === 169
24837
+ || kind === 172
24838
+ || kind === 173
24839
+ || kind === 226
24840
+ || kind === 257;
24841
+ }
24842
+ ts.canHaveDecorators = canHaveDecorators;
24840
24843
  })(ts || (ts = {}));
24841
24844
  var ts;
24842
24845
  (function (ts) {
@@ -24917,7 +24920,7 @@ var ts;
24917
24920
  visitNode(cbNode, node.default) ||
24918
24921
  visitNode(cbNode, node.expression);
24919
24922
  case 297:
24920
- return visitNodes(cbNode, cbNodes, node.decorators) ||
24923
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
24921
24924
  visitNodes(cbNode, cbNodes, node.modifiers) ||
24922
24925
  visitNode(cbNode, node.name) ||
24923
24926
  visitNode(cbNode, node.questionToken) ||
@@ -24947,7 +24950,7 @@ var ts;
24947
24950
  visitNode(cbNode, node.type) ||
24948
24951
  visitNode(cbNode, node.initializer);
24949
24952
  case 296:
24950
- return visitNodes(cbNode, cbNodes, node.decorators) ||
24953
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
24951
24954
  visitNodes(cbNode, cbNodes, node.modifiers) ||
24952
24955
  visitNode(cbNode, node.name) ||
24953
24956
  visitNode(cbNode, node.questionToken) ||
@@ -24964,7 +24967,7 @@ var ts;
24964
24967
  visitNode(cbNode, node.name) ||
24965
24968
  visitNode(cbNode, node.initializer);
24966
24969
  case 176:
24967
- return visitNodes(cbNode, cbNodes, node.decorators) ||
24970
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
24968
24971
  visitNodes(cbNode, cbNodes, node.modifiers) ||
24969
24972
  visitNodes(cbNode, cbNodes, node.typeParameters) ||
24970
24973
  visitNodes(cbNode, cbNodes, node.parameters) ||
@@ -25002,7 +25005,7 @@ var ts;
25002
25005
  visitNodes(cbNode, cbNodes, node.parameters) ||
25003
25006
  visitNode(cbNode, node.type);
25004
25007
  case 171:
25005
- return visitNodes(cbNode, cbNodes, node.decorators) ||
25008
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
25006
25009
  visitNodes(cbNode, cbNodes, node.modifiers) ||
25007
25010
  visitNode(cbNode, node.name) ||
25008
25011
  visitNodes(cbNode, cbNodes, node.typeParameters) ||
@@ -25024,7 +25027,7 @@ var ts;
25024
25027
  visitNode(cbNode, node.type) ||
25025
25028
  visitNode(cbNode, node.body);
25026
25029
  case 256:
25027
- return visitNodes(cbNode, cbNodes, node.decorators) ||
25030
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
25028
25031
  visitNodes(cbNode, cbNodes, node.modifiers) ||
25029
25032
  visitNode(cbNode, node.asteriskToken) ||
25030
25033
  visitNode(cbNode, node.name) ||
@@ -25048,7 +25051,7 @@ var ts;
25048
25051
  visitNode(cbNode, node.equalsGreaterThanToken) ||
25049
25052
  visitNode(cbNode, node.body);
25050
25053
  case 170:
25051
- return visitNodes(cbNode, cbNodes, node.decorators) ||
25054
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
25052
25055
  visitNodes(cbNode, cbNodes, node.modifiers) ||
25053
25056
  visitNode(cbNode, node.body);
25054
25057
  case 178:
@@ -25176,7 +25179,7 @@ var ts;
25176
25179
  return visitNodes(cbNode, cbNodes, node.statements) ||
25177
25180
  visitNode(cbNode, node.endOfFileToken);
25178
25181
  case 237:
25179
- return visitNodes(cbNode, cbNodes, node.decorators) ||
25182
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
25180
25183
  visitNodes(cbNode, cbNodes, node.modifiers) ||
25181
25184
  visitNode(cbNode, node.declarationList);
25182
25185
  case 255:
@@ -25247,20 +25250,20 @@ var ts;
25247
25250
  visitNodes(cbNode, cbNodes, node.heritageClauses) ||
25248
25251
  visitNodes(cbNode, cbNodes, node.members);
25249
25252
  case 258:
25250
- return visitNodes(cbNode, cbNodes, node.decorators) ||
25253
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
25251
25254
  visitNodes(cbNode, cbNodes, node.modifiers) ||
25252
25255
  visitNode(cbNode, node.name) ||
25253
25256
  visitNodes(cbNode, cbNodes, node.typeParameters) ||
25254
25257
  visitNodes(cbNode, cbNodes, node.heritageClauses) ||
25255
25258
  visitNodes(cbNode, cbNodes, node.members);
25256
25259
  case 259:
25257
- return visitNodes(cbNode, cbNodes, node.decorators) ||
25260
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
25258
25261
  visitNodes(cbNode, cbNodes, node.modifiers) ||
25259
25262
  visitNode(cbNode, node.name) ||
25260
25263
  visitNodes(cbNode, cbNodes, node.typeParameters) ||
25261
25264
  visitNode(cbNode, node.type);
25262
25265
  case 260:
25263
- return visitNodes(cbNode, cbNodes, node.decorators) ||
25266
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
25264
25267
  visitNodes(cbNode, cbNodes, node.modifiers) ||
25265
25268
  visitNode(cbNode, node.name) ||
25266
25269
  visitNodes(cbNode, cbNodes, node.members);
@@ -25268,17 +25271,17 @@ var ts;
25268
25271
  return visitNode(cbNode, node.name) ||
25269
25272
  visitNode(cbNode, node.initializer);
25270
25273
  case 261:
25271
- return visitNodes(cbNode, cbNodes, node.decorators) ||
25274
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
25272
25275
  visitNodes(cbNode, cbNodes, node.modifiers) ||
25273
25276
  visitNode(cbNode, node.name) ||
25274
25277
  visitNode(cbNode, node.body);
25275
25278
  case 265:
25276
- return visitNodes(cbNode, cbNodes, node.decorators) ||
25279
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
25277
25280
  visitNodes(cbNode, cbNodes, node.modifiers) ||
25278
25281
  visitNode(cbNode, node.name) ||
25279
25282
  visitNode(cbNode, node.moduleReference);
25280
25283
  case 266:
25281
- return visitNodes(cbNode, cbNodes, node.decorators) ||
25284
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
25282
25285
  visitNodes(cbNode, cbNodes, node.modifiers) ||
25283
25286
  visitNode(cbNode, node.importClause) ||
25284
25287
  visitNode(cbNode, node.moduleSpecifier) ||
@@ -25292,7 +25295,7 @@ var ts;
25292
25295
  return visitNode(cbNode, node.name) ||
25293
25296
  visitNode(cbNode, node.value);
25294
25297
  case 264:
25295
- return visitNodes(cbNode, cbNodes, node.decorators) ||
25298
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
25296
25299
  visitNode(cbNode, node.name);
25297
25300
  case 268:
25298
25301
  return visitNode(cbNode, node.name);
@@ -25302,7 +25305,7 @@ var ts;
25302
25305
  case 273:
25303
25306
  return visitNodes(cbNode, cbNodes, node.elements);
25304
25307
  case 272:
25305
- return visitNodes(cbNode, cbNodes, node.decorators) ||
25308
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
25306
25309
  visitNodes(cbNode, cbNodes, node.modifiers) ||
25307
25310
  visitNode(cbNode, node.exportClause) ||
25308
25311
  visitNode(cbNode, node.moduleSpecifier) ||
@@ -25312,7 +25315,7 @@ var ts;
25312
25315
  return visitNode(cbNode, node.propertyName) ||
25313
25316
  visitNode(cbNode, node.name);
25314
25317
  case 271:
25315
- return visitNodes(cbNode, cbNodes, node.decorators) ||
25318
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
25316
25319
  visitNodes(cbNode, cbNodes, node.modifiers) ||
25317
25320
  visitNode(cbNode, node.expression);
25318
25321
  case 223:
@@ -25337,7 +25340,7 @@ var ts;
25337
25340
  case 277:
25338
25341
  return visitNode(cbNode, node.expression);
25339
25342
  case 276:
25340
- return visitNodes(cbNode, cbNodes, node.decorators) ||
25343
+ return visitNodes(cbNode, cbNodes, node.illegalDecorators) ||
25341
25344
  visitNodes(cbNode, cbNodes, node.modifiers);
25342
25345
  case 351:
25343
25346
  return visitNodes(cbNode, cbNodes, node.elements);
@@ -26204,7 +26207,7 @@ var ts;
26204
26207
  for (var _i = 0, viableKeywordSuggestions_1 = viableKeywordSuggestions; _i < viableKeywordSuggestions_1.length; _i++) {
26205
26208
  var keyword = viableKeywordSuggestions_1[_i];
26206
26209
  if (expressionText.length > keyword.length + 2 && ts.startsWith(expressionText, keyword)) {
26207
- return keyword + " " + expressionText.slice(keyword.length);
26210
+ return "".concat(keyword, " ").concat(expressionText.slice(keyword.length));
26208
26211
  }
26209
26212
  }
26210
26213
  return undefined;
@@ -27361,7 +27364,7 @@ var ts;
27361
27364
  var type = parseTypeAnnotation();
27362
27365
  parseTypeMemberSemicolon();
27363
27366
  var node = factory.createIndexSignature(modifiers, parameters, type);
27364
- node.decorators = decorators;
27367
+ node.illegalDecorators = decorators;
27365
27368
  return withJSDoc(finishNode(node, pos), hasJSDoc);
27366
27369
  }
27367
27370
  function parsePropertyOrMethodSignature(pos, hasJSDoc, modifiers) {
@@ -29046,7 +29049,7 @@ var ts;
29046
29049
  var initializer = allowInAnd(function () { return parseAssignmentExpressionOrHigher(true); });
29047
29050
  node = factory.createPropertyAssignment(name, initializer);
29048
29051
  }
29049
- node.decorators = decorators;
29052
+ node.illegalDecorators = decorators;
29050
29053
  node.modifiers = modifiers;
29051
29054
  node.questionToken = questionToken;
29052
29055
  node.exclamationToken = exclamationToken;
@@ -29629,7 +29632,7 @@ var ts;
29629
29632
  if (decorators || modifiers) {
29630
29633
  var missing = createMissingNode(276, true, ts.Diagnostics.Declaration_expected);
29631
29634
  ts.setTextRangePos(missing, pos);
29632
- missing.decorators = decorators;
29635
+ missing.illegalDecorators = decorators;
29633
29636
  missing.modifiers = modifiers;
29634
29637
  return missing;
29635
29638
  }
@@ -29761,7 +29764,7 @@ var ts;
29761
29764
  var declarationList = parseVariableDeclarationList(false);
29762
29765
  parseSemicolon();
29763
29766
  var node = factory.createVariableStatement(modifiers, declarationList);
29764
- node.decorators = decorators;
29767
+ node.illegalDecorators = decorators;
29765
29768
  return withJSDoc(finishNode(node, pos), hasJSDoc);
29766
29769
  }
29767
29770
  function parseFunctionDeclaration(pos, hasJSDoc, decorators, modifiers) {
@@ -29780,7 +29783,7 @@ var ts;
29780
29783
  var body = parseFunctionBlockOrSemicolon(isGenerator | isAsync, ts.Diagnostics.or_expected);
29781
29784
  setAwaitContext(savedAwaitContext);
29782
29785
  var node = factory.createFunctionDeclaration(modifiers, asteriskToken, name, typeParameters, parameters, type, body);
29783
- node.decorators = decorators;
29786
+ node.illegalDecorators = decorators;
29784
29787
  return withJSDoc(finishNode(node, pos), hasJSDoc);
29785
29788
  }
29786
29789
  function parseConstructorName() {
@@ -29802,7 +29805,7 @@ var ts;
29802
29805
  var type = parseReturnType(58, false);
29803
29806
  var body = parseFunctionBlockOrSemicolon(0, ts.Diagnostics.or_expected);
29804
29807
  var node = factory.createConstructorDeclaration(modifiers, parameters, body);
29805
- node.decorators = decorators;
29808
+ node.illegalDecorators = decorators;
29806
29809
  node.typeParameters = typeParameters;
29807
29810
  node.type = type;
29808
29811
  return withJSDoc(finishNode(node, pos), hasJSDoc);
@@ -29895,7 +29898,7 @@ var ts;
29895
29898
  parseExpectedToken(124);
29896
29899
  var body = parseClassStaticBlockBody();
29897
29900
  var node = withJSDoc(finishNode(factory.createClassStaticBlockDeclaration(body), pos), hasJSDoc);
29898
- node.decorators = decorators;
29901
+ node.illegalDecorators = decorators;
29899
29902
  node.modifiers = modifiers;
29900
29903
  return node;
29901
29904
  }
@@ -30111,7 +30114,7 @@ var ts;
30111
30114
  var heritageClauses = parseHeritageClauses();
30112
30115
  var members = parseObjectTypeMembers();
30113
30116
  var node = factory.createInterfaceDeclaration(modifiers, name, typeParameters, heritageClauses, members);
30114
- node.decorators = decorators;
30117
+ node.illegalDecorators = decorators;
30115
30118
  return withJSDoc(finishNode(node, pos), hasJSDoc);
30116
30119
  }
30117
30120
  function parseTypeAliasDeclaration(pos, hasJSDoc, decorators, modifiers) {
@@ -30122,7 +30125,7 @@ var ts;
30122
30125
  var type = token() === 138 && tryParse(parseKeywordAndNoDot) || parseType();
30123
30126
  parseSemicolon();
30124
30127
  var node = factory.createTypeAliasDeclaration(modifiers, name, typeParameters, type);
30125
- node.decorators = decorators;
30128
+ node.illegalDecorators = decorators;
30126
30129
  return withJSDoc(finishNode(node, pos), hasJSDoc);
30127
30130
  }
30128
30131
  function parseEnumMember() {
@@ -30144,7 +30147,7 @@ var ts;
30144
30147
  members = createMissingList();
30145
30148
  }
30146
30149
  var node = factory.createEnumDeclaration(modifiers, name, members);
30147
- node.decorators = decorators;
30150
+ node.illegalDecorators = decorators;
30148
30151
  return withJSDoc(finishNode(node, pos), hasJSDoc);
30149
30152
  }
30150
30153
  function parseModuleBlock() {
@@ -30166,7 +30169,7 @@ var ts;
30166
30169
  ? parseModuleOrNamespaceDeclaration(getNodePos(), false, undefined, undefined, 4 | namespaceFlag)
30167
30170
  : parseModuleBlock();
30168
30171
  var node = factory.createModuleDeclaration(modifiers, name, body, flags);
30169
- node.decorators = decorators;
30172
+ node.illegalDecorators = decorators;
30170
30173
  return withJSDoc(finishNode(node, pos), hasJSDoc);
30171
30174
  }
30172
30175
  function parseAmbientExternalModuleDeclaration(pos, hasJSDoc, decorators, modifiers) {
@@ -30188,7 +30191,7 @@ var ts;
30188
30191
  parseSemicolon();
30189
30192
  }
30190
30193
  var node = factory.createModuleDeclaration(modifiers, name, body, flags);
30191
- node.decorators = decorators;
30194
+ node.illegalDecorators = decorators;
30192
30195
  return withJSDoc(finishNode(node, pos), hasJSDoc);
30193
30196
  }
30194
30197
  function parseModuleDeclaration(pos, hasJSDoc, decorators, modifiers) {
@@ -30226,7 +30229,7 @@ var ts;
30226
30229
  var name = parseIdentifier();
30227
30230
  parseSemicolon();
30228
30231
  var node = factory.createNamespaceExportDeclaration(name);
30229
- node.decorators = decorators;
30232
+ node.illegalDecorators = decorators;
30230
30233
  node.modifiers = modifiers;
30231
30234
  return withJSDoc(finishNode(node, pos), hasJSDoc);
30232
30235
  }
@@ -30261,7 +30264,7 @@ var ts;
30261
30264
  }
30262
30265
  parseSemicolon();
30263
30266
  var node = factory.createImportDeclaration(modifiers, importClause, moduleSpecifier, assertClause);
30264
- node.decorators = decorators;
30267
+ node.illegalDecorators = decorators;
30265
30268
  return withJSDoc(finishNode(node, pos), hasJSDoc);
30266
30269
  }
30267
30270
  function parseAssertEntry() {
@@ -30304,7 +30307,7 @@ var ts;
30304
30307
  var moduleReference = parseModuleReference();
30305
30308
  parseSemicolon();
30306
30309
  var node = factory.createImportEqualsDeclaration(modifiers, isTypeOnly, identifier, moduleReference);
30307
- node.decorators = decorators;
30310
+ node.illegalDecorators = decorators;
30308
30311
  var finished = withJSDoc(finishNode(node, pos), hasJSDoc);
30309
30312
  return finished;
30310
30313
  }
@@ -30451,7 +30454,7 @@ var ts;
30451
30454
  parseSemicolon();
30452
30455
  setAwaitContext(savedAwaitContext);
30453
30456
  var node = factory.createExportDeclaration(modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause);
30454
- node.decorators = decorators;
30457
+ node.illegalDecorators = decorators;
30455
30458
  return withJSDoc(finishNode(node, pos), hasJSDoc);
30456
30459
  }
30457
30460
  function parseExportAssignment(pos, hasJSDoc, decorators, modifiers) {
@@ -30468,7 +30471,7 @@ var ts;
30468
30471
  parseSemicolon();
30469
30472
  setAwaitContext(savedAwaitContext);
30470
30473
  var node = factory.createExportAssignment(modifiers, isExportEquals, expression);
30471
- node.decorators = decorators;
30474
+ node.illegalDecorators = decorators;
30472
30475
  return withJSDoc(finishNode(node, pos), hasJSDoc);
30473
30476
  }
30474
30477
  var JSDocParser;
@@ -31812,7 +31815,7 @@ var ts;
31812
31815
  if (namedArgRegExCache.has(name)) {
31813
31816
  return namedArgRegExCache.get(name);
31814
31817
  }
31815
- var result = new RegExp("(\\s" + name + "\\s*=\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))", "im");
31818
+ var result = new RegExp("(\\s".concat(name, "\\s*=\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))"), "im");
31816
31819
  namedArgRegExCache.set(name, result);
31817
31820
  return result;
31818
31821
  }
@@ -33331,8 +33334,8 @@ var ts;
33331
33334
  }
33332
33335
  ts.createCompilerDiagnosticForInvalidCustomType = createCompilerDiagnosticForInvalidCustomType;
33333
33336
  function createDiagnosticForInvalidCustomType(opt, createDiagnostic) {
33334
- var namesOfType = ts.arrayFrom(opt.type.keys()).map(function (key) { return "'" + key + "'"; }).join(", ");
33335
- return createDiagnostic(ts.Diagnostics.Argument_for_0_option_must_be_Colon_1, "--" + opt.name, namesOfType);
33337
+ var namesOfType = ts.arrayFrom(opt.type.keys()).map(function (key) { return "'".concat(key, "'"); }).join(", ");
33338
+ return createDiagnostic(ts.Diagnostics.Argument_for_0_option_must_be_Colon_1, "--".concat(opt.name), namesOfType);
33336
33339
  }
33337
33340
  function parseCustomTypeOption(opt, value, errors) {
33338
33341
  return convertJsonOptionOfCustomType(opt, ts.trimString(value || ""), errors);
@@ -34050,10 +34053,10 @@ var ts;
34050
34053
  var newValue = compilerOptionsMap.get(cmd.name);
34051
34054
  var defaultValue = getDefaultValueForOption(cmd);
34052
34055
  if (newValue !== defaultValue) {
34053
- result.push("" + tab + cmd.name + ": " + newValue);
34056
+ result.push("".concat(tab).concat(cmd.name, ": ").concat(newValue));
34054
34057
  }
34055
34058
  else if (ts.hasProperty(ts.defaultInitCompilerOptions, cmd.name)) {
34056
- result.push("" + tab + cmd.name + ": " + defaultValue);
34059
+ result.push("".concat(tab).concat(cmd.name, ": ").concat(defaultValue));
34057
34060
  }
34058
34061
  });
34059
34062
  return result.join(newLine) + newLine;
@@ -34091,19 +34094,19 @@ var ts;
34091
34094
  if (entries.length !== 0) {
34092
34095
  entries.push({ value: "" });
34093
34096
  }
34094
- entries.push({ value: "/* " + category + " */" });
34097
+ entries.push({ value: "/* ".concat(category, " */") });
34095
34098
  for (var _i = 0, options_1 = options; _i < options_1.length; _i++) {
34096
34099
  var option = options_1[_i];
34097
34100
  var optionName = void 0;
34098
34101
  if (compilerOptionsMap.has(option.name)) {
34099
- optionName = "\"" + option.name + "\": " + JSON.stringify(compilerOptionsMap.get(option.name)) + ((seenKnownKeys += 1) === compilerOptionsMap.size ? "" : ",");
34102
+ optionName = "\"".concat(option.name, "\": ").concat(JSON.stringify(compilerOptionsMap.get(option.name))).concat((seenKnownKeys += 1) === compilerOptionsMap.size ? "" : ",");
34100
34103
  }
34101
34104
  else {
34102
- optionName = "// \"" + option.name + "\": " + JSON.stringify(getDefaultValueForOption(option)) + ",";
34105
+ optionName = "// \"".concat(option.name, "\": ").concat(JSON.stringify(getDefaultValueForOption(option)), ",");
34103
34106
  }
34104
34107
  entries.push({
34105
34108
  value: optionName,
34106
- description: "/* " + (option.description && ts.getLocaleSpecificMessage(option.description) || option.name) + " */"
34109
+ description: "/* ".concat(option.description && ts.getLocaleSpecificMessage(option.description) || option.name, " */")
34107
34110
  });
34108
34111
  marginLength = Math.max(optionName.length, marginLength);
34109
34112
  }
@@ -34111,24 +34114,24 @@ var ts;
34111
34114
  var tab = makePadding(2);
34112
34115
  var result = [];
34113
34116
  result.push("{");
34114
- result.push(tab + "\"compilerOptions\": {");
34115
- result.push("" + tab + tab + "/* " + ts.getLocaleSpecificMessage(ts.Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file) + " */");
34117
+ result.push("".concat(tab, "\"compilerOptions\": {"));
34118
+ result.push("".concat(tab).concat(tab, "/* ").concat(ts.getLocaleSpecificMessage(ts.Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file), " */"));
34116
34119
  result.push("");
34117
34120
  for (var _a = 0, entries_2 = entries; _a < entries_2.length; _a++) {
34118
34121
  var entry = entries_2[_a];
34119
34122
  var value = entry.value, _b = entry.description, description = _b === void 0 ? "" : _b;
34120
- result.push(value && "" + tab + tab + value + (description && (makePadding(marginLength - value.length + 2) + description)));
34123
+ result.push(value && "".concat(tab).concat(tab).concat(value).concat(description && (makePadding(marginLength - value.length + 2) + description)));
34121
34124
  }
34122
34125
  if (fileNames.length) {
34123
- result.push(tab + "},");
34124
- result.push(tab + "\"files\": [");
34126
+ result.push("".concat(tab, "},"));
34127
+ result.push("".concat(tab, "\"files\": ["));
34125
34128
  for (var i = 0; i < fileNames.length; i++) {
34126
- result.push("" + tab + tab + JSON.stringify(fileNames[i]) + (i === fileNames.length - 1 ? "" : ","));
34129
+ result.push("".concat(tab).concat(tab).concat(JSON.stringify(fileNames[i])).concat(i === fileNames.length - 1 ? "" : ","));
34127
34130
  }
34128
- result.push(tab + "]");
34131
+ result.push("".concat(tab, "]"));
34129
34132
  }
34130
34133
  else {
34131
- result.push(tab + "}");
34134
+ result.push("".concat(tab, "}"));
34132
34135
  }
34133
34136
  result.push("}");
34134
34137
  return result.join(newLine) + newLine;
@@ -34485,7 +34488,7 @@ var ts;
34485
34488
  if (ts.isRootedDiskPath(extendedConfig) || ts.startsWith(extendedConfig, "./") || ts.startsWith(extendedConfig, "../")) {
34486
34489
  var extendedConfigPath = ts.getNormalizedAbsolutePath(extendedConfig, basePath);
34487
34490
  if (!host.fileExists(extendedConfigPath) && !ts.endsWith(extendedConfigPath, ".json")) {
34488
- extendedConfigPath = extendedConfigPath + ".json";
34491
+ extendedConfigPath = "".concat(extendedConfigPath, ".json");
34489
34492
  if (!host.fileExists(extendedConfigPath)) {
34490
34493
  errors.push(createDiagnostic(ts.Diagnostics.File_0_not_found, extendedConfig));
34491
34494
  return undefined;
@@ -34681,7 +34684,7 @@ var ts;
34681
34684
  if (ts.fileExtensionIs(file, ".json")) {
34682
34685
  if (!jsonOnlyIncludeRegexes) {
34683
34686
  var includes = validatedIncludeSpecs.filter(function (s) { return ts.endsWith(s, ".json"); });
34684
- var includeFilePatterns = ts.map(ts.getRegularExpressionsForWildcards(includes, basePath, "files"), function (pattern) { return "^" + pattern + "$"; });
34687
+ var includeFilePatterns = ts.map(ts.getRegularExpressionsForWildcards(includes, basePath, "files"), function (pattern) { return "^".concat(pattern, "$"); });
34685
34688
  jsonOnlyIncludeRegexes = includeFilePatterns ? includeFilePatterns.map(function (pattern) { return ts.getRegexFromPattern(pattern, host.useCaseSensitiveFileNames); }) : ts.emptyArray;
34686
34689
  }
34687
34690
  var includeIndex = ts.findIndex(jsonOnlyIncludeRegexes, function (re) { return re.test(file); });
@@ -34909,7 +34912,7 @@ var ts;
34909
34912
  return true;
34910
34913
  case "string":
34911
34914
  var defaultValue = option.defaultValueDescription;
34912
- return option.isFilePath ? "./" + (defaultValue && typeof defaultValue === "string" ? defaultValue : "") : "";
34915
+ return option.isFilePath ? "./".concat(defaultValue && typeof defaultValue === "string" ? defaultValue : "") : "";
34913
34916
  case "list":
34914
34917
  return [];
34915
34918
  case "object":
@@ -35058,7 +35061,7 @@ var ts;
35058
35061
  var bestVersionKey = result.version, bestVersionPaths = result.paths;
35059
35062
  if (typeof bestVersionPaths !== "object") {
35060
35063
  if (state.traceEnabled) {
35061
- trace(state.host, ts.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2, "typesVersions['" + bestVersionKey + "']", "object", typeof bestVersionPaths);
35064
+ trace(state.host, ts.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2, "typesVersions['".concat(bestVersionKey, "']"), "object", typeof bestVersionPaths);
35062
35065
  }
35063
35066
  return;
35064
35067
  }
@@ -35187,10 +35190,11 @@ var ts;
35187
35190
  if (resolved) {
35188
35191
  var fileName = resolved.fileName, packageId = resolved.packageId;
35189
35192
  var resolvedFileName = options.preserveSymlinks ? fileName : realPath(fileName, host, traceEnabled);
35193
+ var pathsAreEqual = arePathsEqual(fileName, resolvedFileName, host);
35190
35194
  resolvedTypeReferenceDirective = {
35191
35195
  primary: primary,
35192
- resolvedFileName: resolvedFileName,
35193
- originalPath: arePathsEqual(fileName, resolvedFileName, host) ? undefined : fileName,
35196
+ resolvedFileName: pathsAreEqual ? fileName : resolvedFileName,
35197
+ originalPath: pathsAreEqual ? undefined : fileName,
35194
35198
  packageId: packageId,
35195
35199
  isExternalLibraryImport: pathContainsNodeModules(fileName),
35196
35200
  };
@@ -35440,7 +35444,7 @@ var ts;
35440
35444
  };
35441
35445
  return cache;
35442
35446
  function getUnderlyingCacheKey(specifier, mode) {
35443
- var result = mode === undefined ? specifier : mode + "|" + specifier;
35447
+ var result = mode === undefined ? specifier : "".concat(mode, "|").concat(specifier);
35444
35448
  memoizedReverseKeys.set(result, [specifier, mode]);
35445
35449
  return result;
35446
35450
  }
@@ -35476,7 +35480,7 @@ var ts;
35476
35480
  }
35477
35481
  function getOrCreateCacheForModuleName(nonRelativeModuleName, mode, redirectedReference) {
35478
35482
  ts.Debug.assert(!ts.isExternalModuleNameRelative(nonRelativeModuleName));
35479
- return getOrCreateCache(moduleNameToDirectoryMap, redirectedReference, mode === undefined ? nonRelativeModuleName : mode + "|" + nonRelativeModuleName, createPerModuleNameCache);
35483
+ return getOrCreateCache(moduleNameToDirectoryMap, redirectedReference, mode === undefined ? nonRelativeModuleName : "".concat(mode, "|").concat(nonRelativeModuleName), createPerModuleNameCache);
35480
35484
  }
35481
35485
  function createPerModuleNameCache() {
35482
35486
  var directoryPathMap = new ts.Map();
@@ -35607,10 +35611,10 @@ var ts;
35607
35611
  result = classicNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference);
35608
35612
  break;
35609
35613
  default:
35610
- return ts.Debug.fail("Unexpected moduleResolution: " + moduleResolution);
35614
+ return ts.Debug.fail("Unexpected moduleResolution: ".concat(moduleResolution));
35611
35615
  }
35612
35616
  if (result && result.resolvedModule)
35613
- ts.perfLogger.logInfoEvent("Module \"" + moduleName + "\" resolved to \"" + result.resolvedModule.resolvedFileName + "\"");
35617
+ ts.perfLogger.logInfoEvent("Module \"".concat(moduleName, "\" resolved to \"").concat(result.resolvedModule.resolvedFileName, "\""));
35614
35618
  ts.perfLogger.logStopResolveModule((result && result.resolvedModule) ? "" + result.resolvedModule.resolvedFileName : "null");
35615
35619
  if (perFolderCache) {
35616
35620
  perFolderCache.set(moduleName, resolutionMode, result);
@@ -35740,7 +35744,7 @@ var ts;
35740
35744
  function resolveJSModule(moduleName, initialDir, host) {
35741
35745
  var _a = tryResolveJSModuleWorker(moduleName, initialDir, host), resolvedModule = _a.resolvedModule, failedLookupLocations = _a.failedLookupLocations;
35742
35746
  if (!resolvedModule) {
35743
- throw new Error("Could not resolve JS module '" + moduleName + "' starting at '" + initialDir + "'. Looked in: " + failedLookupLocations.join(", "));
35747
+ throw new Error("Could not resolve JS module '".concat(moduleName, "' starting at '").concat(initialDir, "'. Looked in: ").concat(failedLookupLocations.join(", ")));
35744
35748
  }
35745
35749
  return resolvedModule.resolvedFileName;
35746
35750
  }
@@ -35846,8 +35850,9 @@ var ts;
35846
35850
  var resolvedValue = resolved_1.value;
35847
35851
  if (!compilerOptions.preserveSymlinks && resolvedValue && !resolvedValue.originalPath) {
35848
35852
  var path = realPath(resolvedValue.path, host, traceEnabled);
35849
- var originalPath = arePathsEqual(path, resolvedValue.path, host) ? undefined : resolvedValue.path;
35850
- resolvedValue = __assign(__assign({}, resolvedValue), { path: path, originalPath: originalPath });
35853
+ var pathsAreEqual = arePathsEqual(path, resolvedValue.path, host);
35854
+ var originalPath = pathsAreEqual ? undefined : resolvedValue.path;
35855
+ resolvedValue = __assign(__assign({}, resolvedValue), { path: pathsAreEqual ? resolvedValue.path : path, originalPath: originalPath });
35851
35856
  }
35852
35857
  return { value: resolvedValue && { resolved: resolvedValue, isExternalLibraryImport: true } };
35853
35858
  }
@@ -35873,7 +35878,7 @@ var ts;
35873
35878
  if (traceEnabled) {
35874
35879
  trace(host, ts.Diagnostics.Resolving_real_path_for_0_result_1, path, real);
35875
35880
  }
35876
- ts.Debug.assert(host.fileExists(real), path + " linked to nonexistent file " + real);
35881
+ ts.Debug.assert(host.fileExists(real), "".concat(path, " linked to nonexistent file ").concat(real));
35877
35882
  return real;
35878
35883
  }
35879
35884
  function nodeLoadModuleByRelativeName(extensions, candidate, onlyRecordFailures, state, considerPackageJson) {
@@ -36330,7 +36335,7 @@ var ts;
36330
36335
  return undefined;
36331
36336
  }
36332
36337
  var trailingParts = parts.slice(nameParts.length);
36333
- return loadModuleFromExports(scope, extensions, !ts.length(trailingParts) ? "." : "." + ts.directorySeparator + trailingParts.join(ts.directorySeparator), state, cache, redirectedReference);
36338
+ return loadModuleFromExports(scope, extensions, !ts.length(trailingParts) ? "." : ".".concat(ts.directorySeparator).concat(trailingParts.join(ts.directorySeparator)), state, cache, redirectedReference);
36334
36339
  }
36335
36340
  function loadModuleFromExports(scope, extensions, subpath, state, cache, redirectedReference) {
36336
36341
  if (!scope.packageJsonContent.exports) {
@@ -36757,7 +36762,7 @@ var ts;
36757
36762
  return mangled;
36758
36763
  }
36759
36764
  function getTypesPackageName(packageName) {
36760
- return "@types/" + mangleScopedPackageName(packageName);
36765
+ return "@types/".concat(mangleScopedPackageName(packageName));
36761
36766
  }
36762
36767
  ts.getTypesPackageName = getTypesPackageName;
36763
36768
  function mangleScopedPackageName(packageName) {
@@ -37109,7 +37114,7 @@ var ts;
37109
37114
  if (name) {
37110
37115
  if (ts.isAmbientModule(node)) {
37111
37116
  var moduleName = ts.getTextOfIdentifierOrLiteral(name);
37112
- return (ts.isGlobalScopeAugmentation(node) ? "__global" : "\"" + moduleName + "\"");
37117
+ return (ts.isGlobalScopeAugmentation(node) ? "__global" : "\"".concat(moduleName, "\""));
37113
37118
  }
37114
37119
  if (name.kind === 162) {
37115
37120
  var nameExpression = name.expression;
@@ -37158,7 +37163,7 @@ var ts;
37158
37163
  case 317:
37159
37164
  return (ts.isJSDocConstructSignature(node) ? "__new" : "__call");
37160
37165
  case 164:
37161
- ts.Debug.assert(node.parent.kind === 317, "Impossible parameter parent kind", function () { return "parent is: " + ts.Debug.formatSyntaxKind(node.parent.kind) + ", expected JSDocFunctionType"; });
37166
+ ts.Debug.assert(node.parent.kind === 317, "Impossible parameter parent kind", function () { return "parent is: ".concat(ts.Debug.formatSyntaxKind(node.parent.kind), ", expected JSDocFunctionType"); });
37162
37167
  var functionType = node.parent;
37163
37168
  var index = functionType.parameters.indexOf(node);
37164
37169
  return "arg" + index;
@@ -37224,7 +37229,7 @@ var ts;
37224
37229
  }
37225
37230
  var relatedInformation_1 = [];
37226
37231
  if (ts.isTypeAliasDeclaration(node) && ts.nodeIsMissing(node.type) && ts.hasSyntacticModifier(node, 1) && symbol.flags & (2097152 | 788968 | 1920)) {
37227
- relatedInformation_1.push(createDiagnosticForNode(node, ts.Diagnostics.Did_you_mean_0, "export type { " + ts.unescapeLeadingUnderscores(node.name.escapedText) + " }"));
37232
+ relatedInformation_1.push(createDiagnosticForNode(node, ts.Diagnostics.Did_you_mean_0, "export type { ".concat(ts.unescapeLeadingUnderscores(node.name.escapedText), " }")));
37228
37233
  }
37229
37234
  var declarationName_1 = ts.getNameOfDeclaration(node) || node;
37230
37235
  ts.forEach(symbol.declarations, function (declaration, index) {
@@ -39028,7 +39033,7 @@ var ts;
39028
39033
  }
39029
39034
  }
39030
39035
  function bindSourceFileAsExternalModule() {
39031
- bindAnonymousDeclaration(file, 512, "\"" + ts.removeFileExtension(file.fileName) + "\"");
39036
+ bindAnonymousDeclaration(file, 512, "\"".concat(ts.removeFileExtension(file.fileName), "\""));
39032
39037
  }
39033
39038
  function bindExportAssignment(node) {
39034
39039
  if (!container.symbol || !container.symbol.exports) {
@@ -40780,7 +40785,7 @@ var ts;
40780
40785
  if (sourceSymbolFile && targetSymbolFile && amalgamatedDuplicates && !isEitherEnum && sourceSymbolFile !== targetSymbolFile) {
40781
40786
  var firstFile_1 = ts.comparePaths(sourceSymbolFile.path, targetSymbolFile.path) === -1 ? sourceSymbolFile : targetSymbolFile;
40782
40787
  var secondFile_1 = firstFile_1 === sourceSymbolFile ? targetSymbolFile : sourceSymbolFile;
40783
- var filesDuplicates = ts.getOrUpdate(amalgamatedDuplicates, firstFile_1.path + "|" + secondFile_1.path, function () {
40788
+ var filesDuplicates = ts.getOrUpdate(amalgamatedDuplicates, "".concat(firstFile_1.path, "|").concat(secondFile_1.path), function () {
40784
40789
  return ({ firstFile: firstFile_1, secondFile: secondFile_1, conflictingSymbols: new ts.Map() });
40785
40790
  });
40786
40791
  var conflictingSymbolInfo = ts.getOrUpdate(filesDuplicates.conflictingSymbols, symbolName_1, function () {
@@ -43130,7 +43135,7 @@ var ts;
43130
43135
  var links = getSymbolLinks(symbol);
43131
43136
  var cache = (links.accessibleChainCache || (links.accessibleChainCache = new ts.Map()));
43132
43137
  var firstRelevantLocation = forEachSymbolTableInScope(enclosingDeclaration, function (_, __, ___, node) { return node; });
43133
- var key = (useOnlyExternalAliasing ? 0 : 1) + "|" + (firstRelevantLocation && getNodeId(firstRelevantLocation)) + "|" + meaning;
43138
+ var key = "".concat(useOnlyExternalAliasing ? 0 : 1, "|").concat(firstRelevantLocation && getNodeId(firstRelevantLocation), "|").concat(meaning);
43134
43139
  if (cache.has(key)) {
43135
43140
  return cache.get(key);
43136
43141
  }
@@ -43963,7 +43968,7 @@ var ts;
43963
43968
  context.symbolDepth = new ts.Map();
43964
43969
  }
43965
43970
  var links = context.enclosingDeclaration && getNodeLinks(context.enclosingDeclaration);
43966
- var key = getTypeId(type) + "|" + context.flags;
43971
+ var key = "".concat(getTypeId(type), "|").concat(context.flags);
43967
43972
  if (links) {
43968
43973
  links.serializedTypes || (links.serializedTypes = new ts.Map());
43969
43974
  }
@@ -44224,7 +44229,7 @@ var ts;
44224
44229
  }
44225
44230
  }
44226
44231
  if (checkTruncationLength(context) && (i + 2 < properties.length - 1)) {
44227
- typeElements.push(ts.factory.createPropertySignature(undefined, "... " + (properties.length - i) + " more ...", undefined, undefined));
44232
+ typeElements.push(ts.factory.createPropertySignature(undefined, "... ".concat(properties.length - i, " more ..."), undefined, undefined));
44228
44233
  addPropertyToElementList(properties[properties.length - 1], context, typeElements);
44229
44234
  break;
44230
44235
  }
@@ -44332,7 +44337,7 @@ var ts;
44332
44337
  else if (types.length > 2) {
44333
44338
  return [
44334
44339
  typeToTypeNodeHelper(types[0], context),
44335
- ts.factory.createTypeReferenceNode("... " + (types.length - 2) + " more ...", undefined),
44340
+ ts.factory.createTypeReferenceNode("... ".concat(types.length - 2, " more ..."), undefined),
44336
44341
  typeToTypeNodeHelper(types[types.length - 1], context)
44337
44342
  ];
44338
44343
  }
@@ -44345,7 +44350,7 @@ var ts;
44345
44350
  var type = types_2[_i];
44346
44351
  i++;
44347
44352
  if (checkTruncationLength(context) && (i + 2 < types.length - 1)) {
44348
- result_5.push(ts.factory.createTypeReferenceNode("... " + (types.length - i) + " more ...", undefined));
44353
+ result_5.push(ts.factory.createTypeReferenceNode("... ".concat(types.length - i, " more ..."), undefined));
44349
44354
  var typeNode_1 = typeToTypeNodeHelper(types[types.length - 1], context);
44350
44355
  if (typeNode_1) {
44351
44356
  result_5.push(typeNode_1);
@@ -44707,7 +44712,7 @@ var ts;
44707
44712
  }
44708
44713
  return specifier;
44709
44714
  function getSpecifierCacheKey(path, mode) {
44710
- return mode === undefined ? path : mode + "|" + path;
44715
+ return mode === undefined ? path : "".concat(mode, "|").concat(path);
44711
44716
  }
44712
44717
  }
44713
44718
  function symbolToEntityNameNode(symbol) {
@@ -44874,7 +44879,7 @@ var ts;
44874
44879
  var text = rawtext;
44875
44880
  while (((_b = context.typeParameterNamesByText) === null || _b === void 0 ? void 0 : _b.has(text)) || typeParameterShadowsNameInScope(text, context, type)) {
44876
44881
  i++;
44877
- text = rawtext + "_" + i;
44882
+ text = "".concat(rawtext, "_").concat(i);
44878
44883
  }
44879
44884
  if (text !== rawtext) {
44880
44885
  result = ts.factory.createIdentifier(text, result.typeArguments);
@@ -45166,7 +45171,7 @@ var ts;
45166
45171
  function getNameForJSDocFunctionParameter(p, index) {
45167
45172
  return p.name && ts.isIdentifier(p.name) && p.name.escapedText === "this" ? "this"
45168
45173
  : getEffectiveDotDotDotForParameter(p) ? "args"
45169
- : "arg" + index;
45174
+ : "arg".concat(index);
45170
45175
  }
45171
45176
  function rewriteModuleSpecifier(parent, lit) {
45172
45177
  if (bundled) {
@@ -45978,7 +45983,7 @@ var ts;
45978
45983
  }
45979
45984
  return results_1;
45980
45985
  }
45981
- return ts.Debug.fail("Unhandled class member kind! " + (p.__debugFlags || p.flags));
45986
+ return ts.Debug.fail("Unhandled class member kind! ".concat(p.__debugFlags || p.flags));
45982
45987
  };
45983
45988
  }
45984
45989
  function serializePropertySymbolForInterface(p, baseType) {
@@ -46048,7 +46053,7 @@ var ts;
46048
46053
  if (ref) {
46049
46054
  return ref;
46050
46055
  }
46051
- var tempName = getUnusedName(rootName + "_base");
46056
+ var tempName = getUnusedName("".concat(rootName, "_base"));
46052
46057
  var statement = ts.factory.createVariableStatement(undefined, ts.factory.createVariableDeclarationList([
46053
46058
  ts.factory.createVariableDeclaration(tempName, undefined, typeToTypeNodeHelper(staticType, context))
46054
46059
  ], 2));
@@ -46093,7 +46098,7 @@ var ts;
46093
46098
  var original = input;
46094
46099
  while ((_a = context.usedSymbolNames) === null || _a === void 0 ? void 0 : _a.has(input)) {
46095
46100
  i++;
46096
- input = original + "_" + i;
46101
+ input = "".concat(original, "_").concat(i);
46097
46102
  }
46098
46103
  (_b = context.usedSymbolNames) === null || _b === void 0 ? void 0 : _b.add(input);
46099
46104
  if (id) {
@@ -46199,15 +46204,15 @@ var ts;
46199
46204
  if (nameType.flags & 384) {
46200
46205
  var name = "" + nameType.value;
46201
46206
  if (!ts.isIdentifierText(name, ts.getEmitScriptTarget(compilerOptions)) && !ts.isNumericLiteralName(name)) {
46202
- return "\"" + ts.escapeString(name, 34) + "\"";
46207
+ return "\"".concat(ts.escapeString(name, 34), "\"");
46203
46208
  }
46204
46209
  if (ts.isNumericLiteralName(name) && ts.startsWith(name, "-")) {
46205
- return "[" + name + "]";
46210
+ return "[".concat(name, "]");
46206
46211
  }
46207
46212
  return name;
46208
46213
  }
46209
46214
  if (nameType.flags & 8192) {
46210
- return "[" + getNameOfSymbolAsWritten(nameType.symbol, context) + "]";
46215
+ return "[".concat(getNameOfSymbolAsWritten(nameType.symbol, context), "]");
46211
46216
  }
46212
46217
  }
46213
46218
  }
@@ -48635,7 +48640,7 @@ var ts;
48635
48640
  !leftName ? rightName :
48636
48641
  !rightName ? leftName :
48637
48642
  undefined;
48638
- var paramSymbol = createSymbol(1 | (isOptional && !isRestParam ? 16777216 : 0), paramName || "arg" + i);
48643
+ var paramSymbol = createSymbol(1 | (isOptional && !isRestParam ? 16777216 : 0), paramName || "arg".concat(i));
48639
48644
  paramSymbol.type = isRestParam ? createArrayType(unionParamType) : unionParamType;
48640
48645
  params[i] = paramSymbol;
48641
48646
  }
@@ -50375,7 +50380,7 @@ var ts;
50375
50380
  return result;
50376
50381
  }
50377
50382
  function getAliasId(aliasSymbol, aliasTypeArguments) {
50378
- return aliasSymbol ? "@" + getSymbolId(aliasSymbol) + (aliasTypeArguments ? ":" + getTypeListId(aliasTypeArguments) : "") : "";
50383
+ return aliasSymbol ? "@".concat(getSymbolId(aliasSymbol)) + (aliasTypeArguments ? ":".concat(getTypeListId(aliasTypeArguments)) : "") : "";
50379
50384
  }
50380
50385
  function getPropagatingFlagsOfTypes(types, excludeKinds) {
50381
50386
  var result = 0;
@@ -50538,7 +50543,7 @@ var ts;
50538
50543
  return undefined;
50539
50544
  }
50540
50545
  function getSymbolPath(symbol) {
50541
- return symbol.parent ? getSymbolPath(symbol.parent) + "." + symbol.escapedName : symbol.escapedName;
50546
+ return symbol.parent ? "".concat(getSymbolPath(symbol.parent), ".").concat(symbol.escapedName) : symbol.escapedName;
50542
50547
  }
50543
50548
  function getUnresolvedSymbolForEntityName(name) {
50544
50549
  var identifier = name.kind === 161 ? name.right :
@@ -50549,7 +50554,7 @@ var ts;
50549
50554
  var parentSymbol = name.kind === 161 ? getUnresolvedSymbolForEntityName(name.left) :
50550
50555
  name.kind === 206 ? getUnresolvedSymbolForEntityName(name.expression) :
50551
50556
  undefined;
50552
- var path = parentSymbol ? getSymbolPath(parentSymbol) + "." + text : text;
50557
+ var path = parentSymbol ? "".concat(getSymbolPath(parentSymbol), ".").concat(text) : text;
50553
50558
  var result = unresolvedSymbols.get(path);
50554
50559
  if (!result) {
50555
50560
  unresolvedSymbols.set(path, result = createSymbol(524288, text, 1048576));
@@ -50615,7 +50620,7 @@ var ts;
50615
50620
  if (substitute.flags & 3 || substitute === baseType) {
50616
50621
  return baseType;
50617
50622
  }
50618
- var id = getTypeId(baseType) + ">" + getTypeId(substitute);
50623
+ var id = "".concat(getTypeId(baseType), ">").concat(getTypeId(substitute));
50619
50624
  var cached = substitutionTypes.get(id);
50620
50625
  if (cached) {
50621
50626
  return cached;
@@ -51474,9 +51479,9 @@ var ts;
51474
51479
  return types[0];
51475
51480
  }
51476
51481
  var typeKey = !origin ? getTypeListId(types) :
51477
- origin.flags & 1048576 ? "|" + getTypeListId(origin.types) :
51478
- origin.flags & 2097152 ? "&" + getTypeListId(origin.types) :
51479
- "#" + origin.type.id + "|" + getTypeListId(types);
51482
+ origin.flags & 1048576 ? "|".concat(getTypeListId(origin.types)) :
51483
+ origin.flags & 2097152 ? "&".concat(getTypeListId(origin.types)) :
51484
+ "#".concat(origin.type.id, "|").concat(getTypeListId(types));
51480
51485
  var id = typeKey + getAliasId(aliasSymbol, aliasTypeArguments);
51481
51486
  var type = unionTypes.get(id);
51482
51487
  if (!type) {
@@ -51949,7 +51954,7 @@ var ts;
51949
51954
  if (ts.every(newTexts, function (t) { return t === ""; }) && ts.every(newTypes, function (t) { return !!(t.flags & 4); })) {
51950
51955
  return stringType;
51951
51956
  }
51952
- var id = getTypeListId(newTypes) + "|" + ts.map(newTexts, function (t) { return t.length; }).join(",") + "|" + newTexts.join("");
51957
+ var id = "".concat(getTypeListId(newTypes), "|").concat(ts.map(newTexts, function (t) { return t.length; }).join(","), "|").concat(newTexts.join(""));
51953
51958
  var type = templateLiteralTypes.get(id);
51954
51959
  if (!type) {
51955
51960
  templateLiteralTypes.set(id, type = createTemplateLiteralType(newTexts, newTypes));
@@ -52031,7 +52036,7 @@ var ts;
52031
52036
  return [texts, types];
52032
52037
  }
52033
52038
  function getStringMappingTypeForGenericType(symbol, type) {
52034
- var id = getSymbolId(symbol) + "," + getTypeId(type);
52039
+ var id = "".concat(getSymbolId(symbol), ",").concat(getTypeId(type));
52035
52040
  var result = stringMappingTypes.get(id);
52036
52041
  if (!result) {
52037
52042
  stringMappingTypes.set(id, result = createStringMappingType(symbol, type));
@@ -52980,7 +52985,7 @@ var ts;
52980
52985
  function createUniqueESSymbolType(symbol) {
52981
52986
  var type = createType(8192);
52982
52987
  type.symbol = symbol;
52983
- type.escapedName = "__@" + type.symbol.escapedName + "@" + getSymbolId(type.symbol);
52988
+ type.escapedName = "__@".concat(type.symbol.escapedName, "@").concat(getSymbolId(type.symbol));
52984
52989
  return type;
52985
52990
  }
52986
52991
  function getESSymbolLikeTypeForNode(node) {
@@ -54552,20 +54557,20 @@ var ts;
54552
54557
  switch (msg.code) {
54553
54558
  case ts.Diagnostics.Types_of_property_0_are_incompatible.code: {
54554
54559
  if (path.indexOf("new ") === 0) {
54555
- path = "(" + path + ")";
54560
+ path = "(".concat(path, ")");
54556
54561
  }
54557
54562
  var str = "" + args[0];
54558
54563
  if (path.length === 0) {
54559
- path = "" + str;
54564
+ path = "".concat(str);
54560
54565
  }
54561
54566
  else if (ts.isIdentifierText(str, ts.getEmitScriptTarget(compilerOptions))) {
54562
- path = path + "." + str;
54567
+ path = "".concat(path, ".").concat(str);
54563
54568
  }
54564
54569
  else if (str[0] === "[" && str[str.length - 1] === "]") {
54565
- path = "" + path + str;
54570
+ path = "".concat(path).concat(str);
54566
54571
  }
54567
54572
  else {
54568
- path = path + "[" + str + "]";
54573
+ path = "".concat(path, "[").concat(str, "]");
54569
54574
  }
54570
54575
  break;
54571
54576
  }
@@ -54592,7 +54597,7 @@ var ts;
54592
54597
  msg.code === ts.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code)
54593
54598
  ? ""
54594
54599
  : "...";
54595
- path = "" + prefix + path + "(" + params + ")";
54600
+ path = "".concat(prefix).concat(path, "(").concat(params, ")");
54596
54601
  }
54597
54602
  break;
54598
54603
  }
@@ -54605,7 +54610,7 @@ var ts;
54605
54610
  break;
54606
54611
  }
54607
54612
  default:
54608
- return ts.Debug.fail("Unhandled Diagnostic: " + msg.code);
54613
+ return ts.Debug.fail("Unhandled Diagnostic: ".concat(msg.code));
54609
54614
  }
54610
54615
  }
54611
54616
  if (path) {
@@ -56500,7 +56505,7 @@ var ts;
56500
56505
  var constraintMarker = "";
56501
56506
  var sourceId = getTypeReferenceId(source, 0);
56502
56507
  var targetId = getTypeReferenceId(target, 0);
56503
- return "" + constraintMarker + sourceId + "," + targetId + postFix;
56508
+ return "".concat(constraintMarker).concat(sourceId, ",").concat(targetId).concat(postFix);
56504
56509
  function getTypeReferenceId(type, depth) {
56505
56510
  if (depth === void 0) { depth = 0; }
56506
56511
  var result = "" + type.target.id;
@@ -56536,7 +56541,7 @@ var ts;
56536
56541
  var postFix = intersectionState ? ":" + intersectionState : "";
56537
56542
  return isTypeReferenceWithGenericArguments(source) && isTypeReferenceWithGenericArguments(target) ?
56538
56543
  getGenericTypeReferenceRelationKey(source, target, postFix, ignoreConstraints) :
56539
- source.id + "," + target.id + postFix;
56544
+ "".concat(source.id, ",").concat(target.id).concat(postFix);
56540
56545
  }
56541
56546
  function forEachProperty(prop, callback) {
56542
56547
  if (ts.getCheckFlags(prop) & 6) {
@@ -56855,7 +56860,7 @@ var ts;
56855
56860
  }
56856
56861
  function getBaseTypeOfLiteralTypeUnion(type) {
56857
56862
  var _a;
56858
- var key = "B" + getTypeId(type);
56863
+ var key = "B".concat(getTypeId(type));
56859
56864
  return (_a = getCachedType(key)) !== null && _a !== void 0 ? _a : setCachedType(key, mapType(type, getBaseTypeOfLiteralType));
56860
56865
  }
56861
56866
  function getWidenedLiteralType(type) {
@@ -57578,7 +57583,7 @@ var ts;
57578
57583
  }
57579
57584
  function parseBigIntLiteralType(text) {
57580
57585
  var negative = text.startsWith("-");
57581
- var base10Value = ts.parsePseudoBigInt((negative ? text.slice(1) : text) + "n");
57586
+ var base10Value = ts.parsePseudoBigInt("".concat(negative ? text.slice(1) : text, "n"));
57582
57587
  return getBigIntLiteralType({ negative: negative, base10Value: base10Value });
57583
57588
  }
57584
57589
  function isValidBigIntString(s, roundTripOnly) {
@@ -58449,10 +58454,10 @@ var ts;
58449
58454
  case 79:
58450
58455
  if (!ts.isThisInTypeQuery(node)) {
58451
58456
  var symbol = getResolvedSymbol(node);
58452
- return symbol !== unknownSymbol ? (flowContainer ? getNodeId(flowContainer) : "-1") + "|" + getTypeId(declaredType) + "|" + getTypeId(initialType) + "|" + getSymbolId(symbol) : undefined;
58457
+ return symbol !== unknownSymbol ? "".concat(flowContainer ? getNodeId(flowContainer) : "-1", "|").concat(getTypeId(declaredType), "|").concat(getTypeId(initialType), "|").concat(getSymbolId(symbol)) : undefined;
58453
58458
  }
58454
58459
  case 108:
58455
- return "0|" + (flowContainer ? getNodeId(flowContainer) : "-1") + "|" + getTypeId(declaredType) + "|" + getTypeId(initialType);
58460
+ return "0|".concat(flowContainer ? getNodeId(flowContainer) : "-1", "|").concat(getTypeId(declaredType), "|").concat(getTypeId(initialType));
58456
58461
  case 230:
58457
58462
  case 212:
58458
58463
  return getFlowCacheKey(node.expression, declaredType, initialType, flowContainer);
@@ -58473,7 +58478,7 @@ var ts;
58473
58478
  case 213:
58474
58479
  case 214:
58475
58480
  case 169:
58476
- return getNodeId(node) + "#" + getTypeId(declaredType);
58481
+ return "".concat(getNodeId(node), "#").concat(getTypeId(declaredType));
58477
58482
  }
58478
58483
  return undefined;
58479
58484
  }
@@ -58726,7 +58731,7 @@ var ts;
58726
58731
  if (assignedType.flags & 131072) {
58727
58732
  return assignedType;
58728
58733
  }
58729
- var key = "A" + getTypeId(declaredType) + "," + getTypeId(assignedType);
58734
+ var key = "A".concat(getTypeId(declaredType), ",").concat(getTypeId(assignedType));
58730
58735
  return (_a = getCachedType(key)) !== null && _a !== void 0 ? _a : setCachedType(key, getAssignmentReducedTypeWorker(declaredType, assignedType));
58731
58736
  }
58732
58737
  function getAssignmentReducedTypeWorker(declaredType, assignedType) {
@@ -60214,7 +60219,7 @@ var ts;
60214
60219
  }
60215
60220
  function getNarrowedType(type, candidate, assumeTrue, checkDerived) {
60216
60221
  var _a;
60217
- var key = type.flags & 1048576 ? "N" + getTypeId(type) + "," + getTypeId(candidate) + "," + ((assumeTrue ? 1 : 0) | (checkDerived ? 2 : 0)) : undefined;
60222
+ var key = type.flags & 1048576 ? "N".concat(getTypeId(type), ",").concat(getTypeId(candidate), ",").concat((assumeTrue ? 1 : 0) | (checkDerived ? 2 : 0)) : undefined;
60218
60223
  return (_a = getCachedType(key)) !== null && _a !== void 0 ? _a : setCachedType(key, getNarrowedTypeWorker(type, candidate, assumeTrue, checkDerived));
60219
60224
  }
60220
60225
  function getNarrowedTypeWorker(type, candidate, assumeTrue, checkDerived) {
@@ -61464,25 +61469,7 @@ var ts;
61464
61469
  }
61465
61470
  function getTypeOfPropertyOfContextualType(type, name, nameType) {
61466
61471
  return mapType(type, function (t) {
61467
- if (t.flags & 2097152) {
61468
- var intersection = t;
61469
- var newTypes = ts.mapDefined(intersection.types, getTypeOfConcretePropertyOfContextualType);
61470
- if (newTypes.length > 0) {
61471
- return getIntersectionType(newTypes);
61472
- }
61473
- newTypes = ts.mapDefined(intersection.types, getTypeOfApplicableIndexInfoOfContextualType);
61474
- if (newTypes.length > 0) {
61475
- return getIntersectionType(newTypes);
61476
- }
61477
- return undefined;
61478
- }
61479
- var concretePropertyType = getTypeOfConcretePropertyOfContextualType(t);
61480
- if (concretePropertyType) {
61481
- return concretePropertyType;
61482
- }
61483
- return getTypeOfApplicableIndexInfoOfContextualType(t);
61484
- }, true);
61485
- function getTypeOfConcretePropertyOfContextualType(t) {
61472
+ var _a;
61486
61473
  if (isGenericMappedType(t) && !t.declaration.nameType) {
61487
61474
  var constraint = getConstraintTypeFromMappedType(t);
61488
61475
  var constraintOfConstraint = getBaseConstraintOfType(constraint) || constraint;
@@ -61490,9 +61477,8 @@ var ts;
61490
61477
  if (isTypeAssignableTo(propertyNameType, constraintOfConstraint)) {
61491
61478
  return substituteIndexedMappedType(t, propertyNameType);
61492
61479
  }
61493
- return undefined;
61494
61480
  }
61495
- if (t.flags & 3670016) {
61481
+ else if (t.flags & 3670016) {
61496
61482
  var prop = getPropertyOfType(t, name);
61497
61483
  if (prop) {
61498
61484
  return isCircularMappedProperty(prop) ? undefined : getTypeOfSymbol(prop);
@@ -61503,16 +61489,10 @@ var ts;
61503
61489
  return restType;
61504
61490
  }
61505
61491
  }
61492
+ return (_a = findApplicableIndexInfo(getIndexInfosOfStructuredType(t), nameType || getStringLiteralType(ts.unescapeLeadingUnderscores(name)))) === null || _a === void 0 ? void 0 : _a.type;
61506
61493
  }
61507
61494
  return undefined;
61508
- }
61509
- function getTypeOfApplicableIndexInfoOfContextualType(t) {
61510
- var _a;
61511
- if (!(t.flags & 3670016)) {
61512
- return undefined;
61513
- }
61514
- return (_a = findApplicableIndexInfo(getIndexInfosOfStructuredType(t), nameType || getStringLiteralType(ts.unescapeLeadingUnderscores(name)))) === null || _a === void 0 ? void 0 : _a.type;
61515
- }
61495
+ }, true);
61516
61496
  }
61517
61497
  function getContextualTypeForObjectLiteralMethod(node, contextFlags) {
61518
61498
  ts.Debug.assert(ts.isObjectLiteralMethod(node));
@@ -61878,7 +61858,7 @@ var ts;
61878
61858
  !leftName ? rightName :
61879
61859
  !rightName ? leftName :
61880
61860
  undefined;
61881
- var paramSymbol = createSymbol(1 | (isOptional && !isRestParam ? 16777216 : 0), paramName || "arg" + i);
61861
+ var paramSymbol = createSymbol(1 | (isOptional && !isRestParam ? 16777216 : 0), paramName || "arg".concat(i));
61882
61862
  paramSymbol.type = isRestParam ? createArrayType(unionParamType) : unionParamType;
61883
61863
  params[i] = paramSymbol;
61884
61864
  }
@@ -70660,7 +70640,7 @@ var ts;
70660
70640
  function getPropertyNameForKnownSymbolName(symbolName) {
70661
70641
  var ctorType = getGlobalESSymbolConstructorSymbol(false);
70662
70642
  var uniqueType = ctorType && getTypeOfPropertyOfType(getTypeOfSymbol(ctorType), ts.escapeLeadingUnderscores(symbolName));
70663
- return uniqueType && isTypeUsableAsPropertyName(uniqueType) ? getPropertyNameFromType(uniqueType) : "__@" + symbolName;
70643
+ return uniqueType && isTypeUsableAsPropertyName(uniqueType) ? getPropertyNameFromType(uniqueType) : "__@".concat(symbolName);
70664
70644
  }
70665
70645
  function getIterationTypesOfIterableSlow(type, resolver, errorNode, errorOutputContainer, noCache) {
70666
70646
  var _a;
@@ -72271,7 +72251,7 @@ var ts;
72271
72251
  var importDeclaration = ts.findAncestor(node, ts.or(ts.isImportDeclaration, ts.isImportEqualsDeclaration));
72272
72252
  var moduleSpecifier = (_e = (importDeclaration && ((_d = ts.tryGetModuleSpecifierFromDeclaration(importDeclaration)) === null || _d === void 0 ? void 0 : _d.text))) !== null && _e !== void 0 ? _e : "...";
72273
72253
  var importedIdentifier = ts.unescapeLeadingUnderscores(ts.isIdentifier(errorNode) ? errorNode.escapedText : symbol.escapedName);
72274
- error(errorNode, ts.Diagnostics._0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation, importedIdentifier, "import(\"" + moduleSpecifier + "\")." + importedIdentifier);
72254
+ error(errorNode, ts.Diagnostics._0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation, importedIdentifier, "import(\"".concat(moduleSpecifier, "\").").concat(importedIdentifier));
72275
72255
  }
72276
72256
  return;
72277
72257
  }
@@ -74568,7 +74548,7 @@ var ts;
74568
74548
  return checkGrammarDecorators(node) || checkGrammarModifiers(node);
74569
74549
  }
74570
74550
  function checkGrammarDecorators(node) {
74571
- if (ts.canHaveIllegalDecorators(node) && ts.some(node.decorators)) {
74551
+ if (ts.canHaveIllegalDecorators(node) && ts.some(node.illegalDecorators)) {
74572
74552
  return grammarErrorOnFirstToken(node, ts.Diagnostics.Decorators_are_not_valid_here);
74573
74553
  }
74574
74554
  if (!ts.canHaveDecorators(node) || !ts.hasDecorators(node)) {
@@ -77208,7 +77188,7 @@ var ts;
77208
77188
  value >= 52 && value < 62 ? 48 + value - 52 :
77209
77189
  value === 62 ? 43 :
77210
77190
  value === 63 ? 47 :
77211
- ts.Debug.fail(value + ": not a base64 value");
77191
+ ts.Debug.fail("".concat(value, ": not a base64 value"));
77212
77192
  }
77213
77193
  function base64FormatDecode(ch) {
77214
77194
  return ch >= 65 && ch <= 90 ? ch - 65 :
@@ -77281,7 +77261,7 @@ var ts;
77281
77261
  var mappings = ts.arrayFrom(decoder, processMapping);
77282
77262
  if (decoder.error !== undefined) {
77283
77263
  if (host.log) {
77284
- host.log("Encountered error while decoding sourcemap: " + decoder.error);
77264
+ host.log("Encountered error while decoding sourcemap: ".concat(decoder.error));
77285
77265
  }
77286
77266
  decodedMappings = ts.emptyArray;
77287
77267
  }
@@ -79368,7 +79348,7 @@ var ts;
79368
79348
  var substitute = typeof constantValue === "string" ? factory.createStringLiteral(constantValue) : factory.createNumericLiteral(constantValue);
79369
79349
  if (!compilerOptions.removeComments) {
79370
79350
  var originalNode = ts.getOriginalNode(node, ts.isAccessExpression);
79371
- ts.addSyntheticTrailingComment(substitute, 3, " " + safeMultiLineComment(ts.getTextOfNode(originalNode)) + " ");
79351
+ ts.addSyntheticTrailingComment(substitute, 3, " ".concat(safeMultiLineComment(ts.getTextOfNode(originalNode)), " "));
79372
79352
  }
79373
79353
  return substitute;
79374
79354
  }
@@ -80620,8 +80600,8 @@ var ts;
80620
80600
  }
80621
80601
  function createHoistedVariableForClass(name, node) {
80622
80602
  var className = getPrivateIdentifierEnvironment().className;
80623
- var prefix = className ? "_" + className : "";
80624
- var identifier = factory.createUniqueName(prefix + "_" + name, 16);
80603
+ var prefix = className ? "_".concat(className) : "";
80604
+ var identifier = factory.createUniqueName("".concat(prefix, "_").concat(name), 16);
80625
80605
  if (resolver.getNodeCheckFlags(node) & 524288) {
80626
80606
  addBlockScopedVariable(identifier);
80627
80607
  }
@@ -82932,7 +82912,7 @@ var ts;
82932
82912
  specifierSourceImports = new ts.Map();
82933
82913
  currentFileState.utilizedImplicitRuntimeImports.set(importSource, specifierSourceImports);
82934
82914
  }
82935
- var generatedName = factory.createUniqueName("_" + name, 16 | 32 | 64);
82915
+ var generatedName = factory.createUniqueName("_".concat(name), 16 | 32 | 64);
82936
82916
  var specifier = factory.createImportSpecifier(false, factory.createIdentifier(name), generatedName);
82937
82917
  generatedName.generatedImportReference = specifier;
82938
82918
  specifierSourceImports.set(name, specifier);
@@ -83880,11 +83860,11 @@ var ts;
83880
83860
  }
83881
83861
  else {
83882
83862
  if (node.kind === 246) {
83883
- labelMarker = "break-" + label.escapedText;
83863
+ labelMarker = "break-".concat(label.escapedText);
83884
83864
  setLabeledJump(convertedLoopState, true, ts.idText(label), labelMarker);
83885
83865
  }
83886
83866
  else {
83887
- labelMarker = "continue-" + label.escapedText;
83867
+ labelMarker = "continue-".concat(label.escapedText);
83888
83868
  setLabeledJump(convertedLoopState, false, ts.idText(label), labelMarker);
83889
83869
  }
83890
83870
  }
@@ -89539,7 +89519,7 @@ var ts;
89539
89519
  return getTypeAliasDeclarationVisibilityError;
89540
89520
  }
89541
89521
  else {
89542
- return ts.Debug.assertNever(node, "Attempted to set a declaration diagnostic context for unhandled node kind: " + ts.Debug.formatSyntaxKind(node.kind));
89522
+ return ts.Debug.assertNever(node, "Attempted to set a declaration diagnostic context for unhandled node kind: ".concat(ts.Debug.formatSyntaxKind(node.kind)));
89543
89523
  }
89544
89524
  function getVariableDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult) {
89545
89525
  if (node.kind === 254 || node.kind === 203) {
@@ -89736,7 +89716,7 @@ var ts;
89736
89716
  ts.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2 :
89737
89717
  ts.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;
89738
89718
  default:
89739
- return ts.Debug.fail("Unknown parent for parameter: " + ts.Debug.formatSyntaxKind(node.parent.kind));
89719
+ return ts.Debug.fail("Unknown parent for parameter: ".concat(ts.Debug.formatSyntaxKind(node.parent.kind)));
89740
89720
  }
89741
89721
  }
89742
89722
  function getTypeParameterConstraintVisibilityError() {
@@ -90443,7 +90423,7 @@ var ts;
90443
90423
  while (ts.length(lateMarkedStatements)) {
90444
90424
  var i = lateMarkedStatements.shift();
90445
90425
  if (!ts.isLateVisibilityPaintedStatement(i)) {
90446
- return ts.Debug.fail("Late replaced statement was found which is not handled by the declaration transformer!: " + ts.Debug.formatSyntaxKind(i.kind));
90426
+ return ts.Debug.fail("Late replaced statement was found which is not handled by the declaration transformer!: ".concat(ts.Debug.formatSyntaxKind(i.kind)));
90447
90427
  }
90448
90428
  var priorNeedsDeclare = needsDeclare;
90449
90429
  needsDeclare = i.parent && ts.isSourceFile(i.parent) && !(ts.isExternalModule(i.parent) && isBundledEmit);
@@ -90608,7 +90588,7 @@ var ts;
90608
90588
  return cleanup(input);
90609
90589
  return cleanup(factory.updateImportTypeNode(input, factory.updateLiteralTypeNode(input.argument, rewriteModuleSpecifier(input, input.argument.literal)), input.assertions, input.qualifier, ts.visitNodes(input.typeArguments, visitDeclarationSubtree, ts.isTypeNode), input.isTypeOf));
90610
90590
  }
90611
- default: ts.Debug.assertNever(input, "Attempted to process unhandled node kind: " + ts.Debug.formatSyntaxKind(input.kind));
90591
+ default: ts.Debug.assertNever(input, "Attempted to process unhandled node kind: ".concat(ts.Debug.formatSyntaxKind(input.kind)));
90612
90592
  }
90613
90593
  }
90614
90594
  if (ts.isTupleTypeNode(input) && (ts.getLineAndCharacterOfPosition(currentSourceFile, input.pos).line === ts.getLineAndCharacterOfPosition(currentSourceFile, input.end).line)) {
@@ -90858,7 +90838,7 @@ var ts;
90858
90838
  var extendsClause_1 = ts.getEffectiveBaseTypeNode(input);
90859
90839
  if (extendsClause_1 && !ts.isEntityNameExpression(extendsClause_1.expression) && extendsClause_1.expression.kind !== 104) {
90860
90840
  var oldId = input.name ? ts.unescapeLeadingUnderscores(input.name.escapedText) : "default";
90861
- var newId_1 = factory.createUniqueName(oldId + "_base", 16);
90841
+ var newId_1 = factory.createUniqueName("".concat(oldId, "_base"), 16);
90862
90842
  getSymbolAccessibilityDiagnostic = function () { return ({
90863
90843
  diagnosticMessage: ts.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,
90864
90844
  errorNode: extendsClause_1,
@@ -90895,7 +90875,7 @@ var ts;
90895
90875
  }))));
90896
90876
  }
90897
90877
  }
90898
- return ts.Debug.assertNever(input, "Unhandled top-level node in declaration emit: " + ts.Debug.formatSyntaxKind(input.kind));
90878
+ return ts.Debug.assertNever(input, "Unhandled top-level node in declaration emit: ".concat(ts.Debug.formatSyntaxKind(input.kind)));
90899
90879
  function cleanup(node) {
90900
90880
  if (isEnclosingDeclaration(input)) {
90901
90881
  enclosingDeclaration = previousEnclosingDeclaration;
@@ -91665,13 +91645,13 @@ var ts;
91665
91645
  if (ts.fileExtensionIs(inputFileName, ".json"))
91666
91646
  return;
91667
91647
  if (js && configFile.options.sourceMap) {
91668
- addOutput(js + ".map");
91648
+ addOutput("".concat(js, ".map"));
91669
91649
  }
91670
91650
  if (ts.getEmitDeclarations(configFile.options)) {
91671
91651
  var dts = getOutputDeclarationFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory);
91672
91652
  addOutput(dts);
91673
91653
  if (configFile.options.declarationMap) {
91674
- addOutput(dts + ".map");
91654
+ addOutput("".concat(dts, ".map"));
91675
91655
  }
91676
91656
  }
91677
91657
  }
@@ -91731,7 +91711,7 @@ var ts;
91731
91711
  function getFirstProjectOutput(configFile, ignoreCase) {
91732
91712
  if (ts.outFile(configFile.options)) {
91733
91713
  var jsFilePath = getOutputPathsForBundle(configFile.options, false).jsFilePath;
91734
- return ts.Debug.checkDefined(jsFilePath, "project " + configFile.options.configFilePath + " expected to have at least one output");
91714
+ return ts.Debug.checkDefined(jsFilePath, "project ".concat(configFile.options.configFilePath, " expected to have at least one output"));
91735
91715
  }
91736
91716
  var getCommonSourceDirectory = ts.memoize(function () { return getCommonSourceDirectoryOfConfig(configFile, ignoreCase); });
91737
91717
  for (var _a = 0, _b = configFile.fileNames; _a < _b.length; _a++) {
@@ -91750,7 +91730,7 @@ var ts;
91750
91730
  var buildInfoPath = getTsBuildInfoEmitOutputFilePath(configFile.options);
91751
91731
  if (buildInfoPath)
91752
91732
  return buildInfoPath;
91753
- return ts.Debug.fail("project " + configFile.options.configFilePath + " expected to have at least one output");
91733
+ return ts.Debug.fail("project ".concat(configFile.options.configFilePath, " expected to have at least one output"));
91754
91734
  }
91755
91735
  ts.getFirstProjectOutput = getFirstProjectOutput;
91756
91736
  function emitFiles(resolver, host, targetSourceFile, _a, emitOnlyDtsFiles, onlyBuildInfo, forceDtsEmit) {
@@ -91958,7 +91938,7 @@ var ts;
91958
91938
  if (!writer.isAtStartOfLine())
91959
91939
  writer.rawWrite(newLine);
91960
91940
  sourceMapUrlPos = writer.getTextPos();
91961
- writer.writeComment("//# " + "sourceMappingURL" + "=" + sourceMappingURL);
91941
+ writer.writeComment("//# ".concat("sourceMappingURL", "=").concat(sourceMappingURL));
91962
91942
  }
91963
91943
  if (sourceMapFilePath) {
91964
91944
  var sourceMap = sourceMapGenerator.toString();
@@ -92003,7 +91983,7 @@ var ts;
92003
91983
  if (mapOptions.inlineSourceMap) {
92004
91984
  var sourceMapText = sourceMapGenerator.toString();
92005
91985
  var base64SourceMapText = ts.base64encode(ts.sys, sourceMapText);
92006
- return "data:application/json;base64," + base64SourceMapText;
91986
+ return "data:application/json;base64,".concat(base64SourceMapText);
92007
91987
  }
92008
91988
  var sourceMapFile = ts.getBaseFileName(ts.normalizeSlashes(ts.Debug.checkDefined(sourceMapFilePath)));
92009
91989
  if (mapOptions.mapRoot) {
@@ -92192,7 +92172,7 @@ var ts;
92192
92172
  return;
92193
92173
  break;
92194
92174
  default:
92195
- ts.Debug.fail("Unexpected path: " + name);
92175
+ ts.Debug.fail("Unexpected path: ".concat(name));
92196
92176
  }
92197
92177
  outputFiles.push({ name: name, text: text, writeByteOrderMark: writeByteOrderMark });
92198
92178
  },
@@ -93006,7 +92986,7 @@ var ts;
93006
92986
  return writeTokenNode(node, writeKeyword);
93007
92987
  if (ts.isTokenKind(node.kind))
93008
92988
  return writeTokenNode(node, writePunctuation);
93009
- ts.Debug.fail("Unhandled SyntaxKind: " + ts.Debug.formatSyntaxKind(node.kind) + ".");
92989
+ ts.Debug.fail("Unhandled SyntaxKind: ".concat(ts.Debug.formatSyntaxKind(node.kind), "."));
93010
92990
  }
93011
92991
  function emitMappedTypeParameter(node) {
93012
92992
  emit(node.name);
@@ -93146,14 +93126,14 @@ var ts;
93146
93126
  }
93147
93127
  }
93148
93128
  function emitPlaceholder(hint, node, snippet) {
93149
- nonEscapingWrite("${" + snippet.order + ":");
93129
+ nonEscapingWrite("${".concat(snippet.order, ":"));
93150
93130
  pipelineEmitWithHintWorker(hint, node, false);
93151
93131
  nonEscapingWrite("}");
93152
93132
  }
93153
93133
  function emitTabStop(hint, node, snippet) {
93154
- ts.Debug.assert(node.kind === 236, "A tab stop cannot be attached to a node of kind " + ts.Debug.formatSyntaxKind(node.kind) + ".");
93134
+ ts.Debug.assert(node.kind === 236, "A tab stop cannot be attached to a node of kind ".concat(ts.Debug.formatSyntaxKind(node.kind), "."));
93155
93135
  ts.Debug.assert(hint !== 5, "A tab stop cannot be attached to an embedded statement.");
93156
- nonEscapingWrite("$" + snippet.order);
93136
+ nonEscapingWrite("$".concat(snippet.order));
93157
93137
  }
93158
93138
  function emitIdentifier(node) {
93159
93139
  var writeText = node.symbol ? writeSymbol : write;
@@ -94812,17 +94792,17 @@ var ts;
94812
94792
  writeLine();
94813
94793
  }
94814
94794
  if (currentSourceFile && currentSourceFile.moduleName) {
94815
- writeComment("/// <amd-module name=\"" + currentSourceFile.moduleName + "\" />");
94795
+ writeComment("/// <amd-module name=\"".concat(currentSourceFile.moduleName, "\" />"));
94816
94796
  writeLine();
94817
94797
  }
94818
94798
  if (currentSourceFile && currentSourceFile.amdDependencies) {
94819
94799
  for (var _a = 0, _b = currentSourceFile.amdDependencies; _a < _b.length; _a++) {
94820
94800
  var dep = _b[_a];
94821
94801
  if (dep.name) {
94822
- writeComment("/// <amd-dependency name=\"" + dep.name + "\" path=\"" + dep.path + "\" />");
94802
+ writeComment("/// <amd-dependency name=\"".concat(dep.name, "\" path=\"").concat(dep.path, "\" />"));
94823
94803
  }
94824
94804
  else {
94825
- writeComment("/// <amd-dependency path=\"" + dep.path + "\" />");
94805
+ writeComment("/// <amd-dependency path=\"".concat(dep.path, "\" />"));
94826
94806
  }
94827
94807
  writeLine();
94828
94808
  }
@@ -94830,7 +94810,7 @@ var ts;
94830
94810
  for (var _c = 0, files_2 = files; _c < files_2.length; _c++) {
94831
94811
  var directive = files_2[_c];
94832
94812
  var pos = writer.getTextPos();
94833
- writeComment("/// <reference path=\"" + directive.fileName + "\" />");
94813
+ writeComment("/// <reference path=\"".concat(directive.fileName, "\" />"));
94834
94814
  if (bundleFileInfo)
94835
94815
  bundleFileInfo.sections.push({ pos: pos, end: writer.getTextPos(), kind: "reference", data: directive.fileName });
94836
94816
  writeLine();
@@ -94839,9 +94819,9 @@ var ts;
94839
94819
  var directive = types_23[_d];
94840
94820
  var pos = writer.getTextPos();
94841
94821
  var resolutionMode = directive.resolutionMode && directive.resolutionMode !== (currentSourceFile === null || currentSourceFile === void 0 ? void 0 : currentSourceFile.impliedNodeFormat)
94842
- ? "resolution-mode=\"" + (directive.resolutionMode === ts.ModuleKind.ESNext ? "import" : "require") + "\""
94822
+ ? "resolution-mode=\"".concat(directive.resolutionMode === ts.ModuleKind.ESNext ? "import" : "require", "\"")
94843
94823
  : "";
94844
- writeComment("/// <reference types=\"" + directive.fileName + "\" " + resolutionMode + "/>");
94824
+ writeComment("/// <reference types=\"".concat(directive.fileName, "\" ").concat(resolutionMode, "/>"));
94845
94825
  if (bundleFileInfo)
94846
94826
  bundleFileInfo.sections.push({ pos: pos, end: writer.getTextPos(), kind: !directive.resolutionMode ? "type" : directive.resolutionMode === ts.ModuleKind.ESNext ? "type-import" : "type-require", data: directive.fileName });
94847
94827
  writeLine();
@@ -94849,7 +94829,7 @@ var ts;
94849
94829
  for (var _e = 0, libs_1 = libs; _e < libs_1.length; _e++) {
94850
94830
  var directive = libs_1[_e];
94851
94831
  var pos = writer.getTextPos();
94852
- writeComment("/// <reference lib=\"" + directive.fileName + "\" />");
94832
+ writeComment("/// <reference lib=\"".concat(directive.fileName, "\" />"));
94853
94833
  if (bundleFileInfo)
94854
94834
  bundleFileInfo.sections.push({ pos: pos, end: writer.getTextPos(), kind: "lib", data: directive.fileName });
94855
94835
  writeLine();
@@ -95576,9 +95556,9 @@ var ts;
95576
95556
  var textSourceNode = node.textSourceNode;
95577
95557
  if (ts.isIdentifier(textSourceNode) || ts.isNumericLiteral(textSourceNode)) {
95578
95558
  var text = ts.isNumericLiteral(textSourceNode) ? textSourceNode.text : getTextOfNode(textSourceNode);
95579
- return jsxAttributeEscape ? "\"" + ts.escapeJsxAttributeString(text) + "\"" :
95580
- neverAsciiEscape || (ts.getEmitFlags(node) & 16777216) ? "\"" + ts.escapeString(text) + "\"" :
95581
- "\"" + ts.escapeNonAsciiString(text) + "\"";
95559
+ return jsxAttributeEscape ? "\"".concat(ts.escapeJsxAttributeString(text), "\"") :
95560
+ neverAsciiEscape || (ts.getEmitFlags(node) & 16777216) ? "\"".concat(ts.escapeString(text), "\"") :
95561
+ "\"".concat(ts.escapeNonAsciiString(text), "\"");
95582
95562
  }
95583
95563
  else {
95584
95564
  return getLiteralTextOfNode(textSourceNode, neverAsciiEscape, jsxAttributeEscape);
@@ -95981,8 +95961,8 @@ var ts;
95981
95961
  }
95982
95962
  function formatSynthesizedComment(comment) {
95983
95963
  return comment.kind === 3
95984
- ? "/*" + comment.text + "*/"
95985
- : "//" + comment.text;
95964
+ ? "/*".concat(comment.text, "*/")
95965
+ : "//".concat(comment.text);
95986
95966
  }
95987
95967
  function emitBodyWithDetachedComments(node, detachedRange, emitCallback) {
95988
95968
  enterComment();
@@ -96616,18 +96596,18 @@ var ts;
96616
96596
  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;
96617
96597
  var newPath = ts.removeIgnoredPath(fileOrDirectoryPath);
96618
96598
  if (!newPath) {
96619
- writeLog("Project: " + configFileName + " Detected ignored path: " + fileOrDirectory);
96599
+ writeLog("Project: ".concat(configFileName, " Detected ignored path: ").concat(fileOrDirectory));
96620
96600
  return true;
96621
96601
  }
96622
96602
  fileOrDirectoryPath = newPath;
96623
96603
  if (fileOrDirectoryPath === watchedDirPath)
96624
96604
  return false;
96625
96605
  if (ts.hasExtension(fileOrDirectoryPath) && !ts.isSupportedSourceFileName(fileOrDirectory, options, extraFileExtensions)) {
96626
- writeLog("Project: " + configFileName + " Detected file add/remove of non supported extension: " + fileOrDirectory);
96606
+ writeLog("Project: ".concat(configFileName, " Detected file add/remove of non supported extension: ").concat(fileOrDirectory));
96627
96607
  return true;
96628
96608
  }
96629
96609
  if (ts.isExcludedFile(fileOrDirectory, options.configFile.configFileSpecs, ts.getNormalizedAbsolutePath(ts.getDirectoryPath(configFileName), currentDirectory), useCaseSensitiveFileNames, currentDirectory)) {
96630
- writeLog("Project: " + configFileName + " Detected excluded file: " + fileOrDirectory);
96610
+ writeLog("Project: ".concat(configFileName, " Detected excluded file: ").concat(fileOrDirectory));
96631
96611
  return true;
96632
96612
  }
96633
96613
  if (!program)
@@ -96646,7 +96626,7 @@ var ts;
96646
96626
  var builderProgram = !realProgram && !ts.isArray(program) ? program : undefined;
96647
96627
  if (hasSourceFile((filePathWithoutExtension + ".ts")) ||
96648
96628
  hasSourceFile((filePathWithoutExtension + ".tsx"))) {
96649
- writeLog("Project: " + configFileName + " Detected output file: " + fileOrDirectory);
96629
+ writeLog("Project: ".concat(configFileName, " Detected output file: ").concat(fileOrDirectory));
96650
96630
  return true;
96651
96631
  }
96652
96632
  return false;
@@ -96714,36 +96694,36 @@ var ts;
96714
96694
  host.useCaseSensitiveFileNames();
96715
96695
  }
96716
96696
  function createExcludeWatcherWithLogging(file, flags, options, detailInfo1, detailInfo2) {
96717
- log("ExcludeWatcher:: Added:: " + getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo));
96697
+ log("ExcludeWatcher:: Added:: ".concat(getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)));
96718
96698
  return {
96719
- close: function () { return log("ExcludeWatcher:: Close:: " + getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)); }
96699
+ close: function () { return log("ExcludeWatcher:: Close:: ".concat(getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo))); }
96720
96700
  };
96721
96701
  }
96722
96702
  function createFileWatcherWithLogging(file, cb, flags, options, detailInfo1, detailInfo2) {
96723
- log("FileWatcher:: Added:: " + getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo));
96703
+ log("FileWatcher:: Added:: ".concat(getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)));
96724
96704
  var watcher = triggerInvokingFactory.watchFile(file, cb, flags, options, detailInfo1, detailInfo2);
96725
96705
  return {
96726
96706
  close: function () {
96727
- log("FileWatcher:: Close:: " + getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo));
96707
+ log("FileWatcher:: Close:: ".concat(getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)));
96728
96708
  watcher.close();
96729
96709
  }
96730
96710
  };
96731
96711
  }
96732
96712
  function createDirectoryWatcherWithLogging(file, cb, flags, options, detailInfo1, detailInfo2) {
96733
- var watchInfo = "DirectoryWatcher:: Added:: " + getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo);
96713
+ var watchInfo = "DirectoryWatcher:: Added:: ".concat(getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo));
96734
96714
  log(watchInfo);
96735
96715
  var start = ts.timestamp();
96736
96716
  var watcher = triggerInvokingFactory.watchDirectory(file, cb, flags, options, detailInfo1, detailInfo2);
96737
96717
  var elapsed = ts.timestamp() - start;
96738
- log("Elapsed:: " + elapsed + "ms " + watchInfo);
96718
+ log("Elapsed:: ".concat(elapsed, "ms ").concat(watchInfo));
96739
96719
  return {
96740
96720
  close: function () {
96741
- var watchInfo = "DirectoryWatcher:: Close:: " + getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo);
96721
+ var watchInfo = "DirectoryWatcher:: Close:: ".concat(getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo));
96742
96722
  log(watchInfo);
96743
96723
  var start = ts.timestamp();
96744
96724
  watcher.close();
96745
96725
  var elapsed = ts.timestamp() - start;
96746
- log("Elapsed:: " + elapsed + "ms " + watchInfo);
96726
+ log("Elapsed:: ".concat(elapsed, "ms ").concat(watchInfo));
96747
96727
  }
96748
96728
  };
96749
96729
  }
@@ -96753,16 +96733,16 @@ var ts;
96753
96733
  for (var _i = 0; _i < arguments.length; _i++) {
96754
96734
  args[_i] = arguments[_i];
96755
96735
  }
96756
- var triggerredInfo = (key === "watchFile" ? "FileWatcher" : "DirectoryWatcher") + ":: Triggered with " + args[0] + " " + (args[1] !== undefined ? args[1] : "") + ":: " + getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo);
96736
+ 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));
96757
96737
  log(triggerredInfo);
96758
96738
  var start = ts.timestamp();
96759
96739
  cb.call.apply(cb, __spreadArray([undefined], args, false));
96760
96740
  var elapsed = ts.timestamp() - start;
96761
- log("Elapsed:: " + elapsed + "ms " + triggerredInfo);
96741
+ log("Elapsed:: ".concat(elapsed, "ms ").concat(triggerredInfo));
96762
96742
  }, flags, options, detailInfo1, detailInfo2); };
96763
96743
  }
96764
96744
  function getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo) {
96765
- return "WatchInfo: " + file + " " + flags + " " + JSON.stringify(options) + " " + (getDetailWatchInfo ? getDetailWatchInfo(detailInfo1, detailInfo2) : detailInfo2 === undefined ? detailInfo1 : detailInfo1 + " " + detailInfo2);
96745
+ return "WatchInfo: ".concat(file, " ").concat(flags, " ").concat(JSON.stringify(options), " ").concat(getDetailWatchInfo ? getDetailWatchInfo(detailInfo1, detailInfo2) : detailInfo2 === undefined ? detailInfo1 : "".concat(detailInfo1, " ").concat(detailInfo2));
96766
96746
  }
96767
96747
  }
96768
96748
  ts.getWatchFactory = getWatchFactory;
@@ -97029,12 +97009,12 @@ var ts;
97029
97009
  }
97030
97010
  ts.formatDiagnostics = formatDiagnostics;
97031
97011
  function formatDiagnostic(diagnostic, host) {
97032
- var errorMessage = ts.diagnosticCategoryName(diagnostic) + " TS" + diagnostic.code + ": " + flattenDiagnosticMessageText(diagnostic.messageText, host.getNewLine()) + host.getNewLine();
97012
+ var errorMessage = "".concat(ts.diagnosticCategoryName(diagnostic), " TS").concat(diagnostic.code, ": ").concat(flattenDiagnosticMessageText(diagnostic.messageText, host.getNewLine())).concat(host.getNewLine());
97033
97013
  if (diagnostic.file) {
97034
97014
  var _a = ts.getLineAndCharacterOfPosition(diagnostic.file, diagnostic.start), line = _a.line, character = _a.character;
97035
97015
  var fileName = diagnostic.file.fileName;
97036
97016
  var relativeFileName = ts.convertToRelativePath(fileName, host.getCurrentDirectory(), function (fileName) { return host.getCanonicalFileName(fileName); });
97037
- return relativeFileName + "(" + (line + 1) + "," + (character + 1) + "): " + errorMessage;
97017
+ return "".concat(relativeFileName, "(").concat(line + 1, ",").concat(character + 1, "): ") + errorMessage;
97038
97018
  }
97039
97019
  return errorMessage;
97040
97020
  }
@@ -97112,9 +97092,9 @@ var ts;
97112
97092
  var output = "";
97113
97093
  output += color(relativeFileName, ForegroundColorEscapeSequences.Cyan);
97114
97094
  output += ":";
97115
- output += color("" + (firstLine + 1), ForegroundColorEscapeSequences.Yellow);
97095
+ output += color("".concat(firstLine + 1), ForegroundColorEscapeSequences.Yellow);
97116
97096
  output += ":";
97117
- output += color("" + (firstLineChar + 1), ForegroundColorEscapeSequences.Yellow);
97097
+ output += color("".concat(firstLineChar + 1), ForegroundColorEscapeSequences.Yellow);
97118
97098
  return output;
97119
97099
  }
97120
97100
  ts.formatLocation = formatLocation;
@@ -97128,7 +97108,7 @@ var ts;
97128
97108
  output += " - ";
97129
97109
  }
97130
97110
  output += formatColorAndReset(ts.diagnosticCategoryName(diagnostic), getCategoryFormat(diagnostic.category));
97131
- output += formatColorAndReset(" TS" + diagnostic.code + ": ", ForegroundColorEscapeSequences.Grey);
97111
+ output += formatColorAndReset(" TS".concat(diagnostic.code, ": "), ForegroundColorEscapeSequences.Grey);
97132
97112
  output += flattenDiagnosticMessageText(diagnostic.messageText, host.getNewLine());
97133
97113
  if (diagnostic.file) {
97134
97114
  output += host.getNewLine();
@@ -97189,7 +97169,7 @@ var ts;
97189
97169
  var result = void 0;
97190
97170
  var mode = getModeForFileReference(name, containingFileMode);
97191
97171
  var strName = ts.isString(name) ? name : name.fileName.toLowerCase();
97192
- var cacheKey = mode !== undefined ? mode + "|" + strName : strName;
97172
+ var cacheKey = mode !== undefined ? "".concat(mode, "|").concat(strName) : strName;
97193
97173
  if (cache.has(cacheKey)) {
97194
97174
  result = cache.get(cacheKey);
97195
97175
  }
@@ -97284,7 +97264,7 @@ var ts;
97284
97264
  var result = void 0;
97285
97265
  var mode = getModeForResolutionAtIndex(containingFile, i);
97286
97266
  i++;
97287
- var cacheKey = mode !== undefined ? mode + "|" + name : name;
97267
+ var cacheKey = mode !== undefined ? "".concat(mode, "|").concat(name) : name;
97288
97268
  if (cache.has(cacheKey)) {
97289
97269
  result = cache.get(cacheKey);
97290
97270
  }
@@ -99228,7 +99208,7 @@ var ts;
99228
99208
  path += (i === 2 ? "/" : "-") + components[i];
99229
99209
  i++;
99230
99210
  }
99231
- var resolveFrom = ts.combinePaths(currentDirectory, "__lib_node_modules_lookup_" + libFileName + "__.ts");
99211
+ var resolveFrom = ts.combinePaths(currentDirectory, "__lib_node_modules_lookup_".concat(libFileName, "__.ts"));
99232
99212
  var localOverrideModuleResult = ts.resolveModuleName("@typescript/lib-" + path, resolveFrom, { moduleResolution: ts.ModuleResolutionKind.NodeJs }, host, moduleResolutionCache);
99233
99213
  if (localOverrideModuleResult === null || localOverrideModuleResult === void 0 ? void 0 : localOverrideModuleResult.resolvedModule) {
99234
99214
  return localOverrideModuleResult.resolvedModule.resolvedFileName;
@@ -99982,10 +99962,10 @@ var ts;
99982
99962
  }
99983
99963
  function directoryExistsIfProjectReferenceDeclDir(dir) {
99984
99964
  var dirPath = host.toPath(dir);
99985
- var dirPathWithTrailingDirectorySeparator = "" + dirPath + ts.directorySeparator;
99965
+ var dirPathWithTrailingDirectorySeparator = "".concat(dirPath).concat(ts.directorySeparator);
99986
99966
  return ts.forEachKey(setOfDeclarationDirectories, function (declDirPath) { return dirPath === declDirPath ||
99987
99967
  ts.startsWith(declDirPath, dirPathWithTrailingDirectorySeparator) ||
99988
- ts.startsWith(dirPath, declDirPath + "/"); });
99968
+ ts.startsWith(dirPath, "".concat(declDirPath, "/")); });
99989
99969
  }
99990
99970
  function handleDirectoryCouldBeSymlink(directory) {
99991
99971
  var _a;
@@ -100033,7 +100013,7 @@ var ts;
100033
100013
  var result = fileOrDirectoryExistsUsingSource(fileOrDirectoryPath.replace(directoryPath, symlinkedDirectory.realPath));
100034
100014
  if (isFile && result) {
100035
100015
  var absolutePath = ts.getNormalizedAbsolutePath(fileOrDirectory, host.compilerHost.getCurrentDirectory());
100036
- symlinkCache.setSymlinkedFile(fileOrDirectoryPath, "" + symlinkedDirectory.real + absolutePath.replace(new RegExp(directoryPath, "i"), ""));
100016
+ symlinkCache.setSymlinkedFile(fileOrDirectoryPath, "".concat(symlinkedDirectory.real).concat(absolutePath.replace(new RegExp(directoryPath, "i"), "")));
100037
100017
  }
100038
100018
  return result;
100039
100019
  }) || false;
@@ -100394,7 +100374,7 @@ var ts;
100394
100374
  var latestSignature;
100395
100375
  if (!sourceFile.isDeclarationFile && !useFileVersionAsSignature) {
100396
100376
  programOfThisState.emit(sourceFile, function (fileName, text, _writeByteOrderMark, _onError, sourceFiles, data) {
100397
- ts.Debug.assert(ts.isDeclarationFileName(fileName), "File extension for signature expected to be dts: Got:: " + fileName);
100377
+ ts.Debug.assert(ts.isDeclarationFileName(fileName), "File extension for signature expected to be dts: Got:: ".concat(fileName));
100398
100378
  latestSignature = ts.computeSignatureWithDiagnostics(sourceFile, text, computeHash, getCanonicalFileName, data);
100399
100379
  if (latestSignature !== prevSignature) {
100400
100380
  updateExportedModules(state, sourceFile, sourceFiles[0].exportedModulesFromDeclarationEmit);
@@ -101161,7 +101141,7 @@ var ts;
101161
101141
  var sourceFileDirectory;
101162
101142
  if ((_a = data === null || data === void 0 ? void 0 : data.diagnostics) === null || _a === void 0 ? void 0 : _a.length) {
101163
101143
  text += data.diagnostics.map(function (diagnostic) {
101164
- return "" + locationInfo(diagnostic) + ts.DiagnosticCategory[diagnostic.category] + diagnostic.code + ": " + flattenDiagnosticMessageText(diagnostic.messageText);
101144
+ return "".concat(locationInfo(diagnostic)).concat(ts.DiagnosticCategory[diagnostic.category]).concat(diagnostic.code, ": ").concat(flattenDiagnosticMessageText(diagnostic.messageText));
101165
101145
  }).join("\n");
101166
101146
  }
101167
101147
  return (computeHash !== null && computeHash !== void 0 ? computeHash : ts.generateDjb2Hash)(text);
@@ -101176,10 +101156,10 @@ var ts;
101176
101156
  }
101177
101157
  function locationInfo(diagnostic) {
101178
101158
  if (diagnostic.file.resolvedPath === sourceFile.resolvedPath)
101179
- return "(" + diagnostic.start + "," + diagnostic.length + ")";
101159
+ return "(".concat(diagnostic.start, ",").concat(diagnostic.length, ")");
101180
101160
  if (sourceFileDirectory === undefined)
101181
101161
  sourceFileDirectory = ts.getDirectoryPath(sourceFile.resolvedPath);
101182
- return ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(sourceFileDirectory, diagnostic.file.resolvedPath, getCanonicalFileName)) + "(" + diagnostic.start + "," + diagnostic.length + ")";
101162
+ return "".concat(ts.ensurePathIsNonModuleName(ts.getRelativePathFromDirectory(sourceFileDirectory, diagnostic.file.resolvedPath, getCanonicalFileName)), "(").concat(diagnostic.start, ",").concat(diagnostic.length, ")");
101183
101163
  }
101184
101164
  }
101185
101165
  ts.computeSignatureWithDiagnostics = computeSignatureWithDiagnostics;
@@ -101962,7 +101942,7 @@ var ts;
101962
101942
  failedLookupLocation = ts.isRootedDiskPath(failedLookupLocation) ? ts.normalizePath(failedLookupLocation) : ts.getNormalizedAbsolutePath(failedLookupLocation, getCurrentDirectory());
101963
101943
  var failedLookupPathSplit = failedLookupLocationPath.split(ts.directorySeparator);
101964
101944
  var failedLookupSplit = failedLookupLocation.split(ts.directorySeparator);
101965
- ts.Debug.assert(failedLookupSplit.length === failedLookupPathSplit.length, "FailedLookup: " + failedLookupLocation + " failedLookupLocationPath: " + failedLookupLocationPath);
101945
+ ts.Debug.assert(failedLookupSplit.length === failedLookupPathSplit.length, "FailedLookup: ".concat(failedLookupLocation, " failedLookupLocationPath: ").concat(failedLookupLocationPath));
101966
101946
  if (failedLookupPathSplit.length > rootSplitLength + 1) {
101967
101947
  return {
101968
101948
  dir: failedLookupSplit.slice(0, rootSplitLength + 1).join(ts.directorySeparator),
@@ -103042,7 +103022,7 @@ var ts;
103042
103022
  }
103043
103023
  function getJSExtensionForFile(fileName, options) {
103044
103024
  var _a;
103045
- return (_a = tryGetJSExtensionForFile(fileName, options)) !== null && _a !== void 0 ? _a : ts.Debug.fail("Extension " + ts.extensionFromPath(fileName) + " is unsupported:: FileName:: " + fileName);
103025
+ return (_a = tryGetJSExtensionForFile(fileName, options)) !== null && _a !== void 0 ? _a : ts.Debug.fail("Extension ".concat(ts.extensionFromPath(fileName), " is unsupported:: FileName:: ").concat(fileName));
103046
103026
  }
103047
103027
  function tryGetJSExtensionForFile(fileName, options) {
103048
103028
  var ext = ts.tryGetExtensionFromPath(fileName);
@@ -103132,8 +103112,8 @@ var ts;
103132
103112
  return pretty ?
103133
103113
  function (diagnostic, newLine, options) {
103134
103114
  clearScreenIfNotWatchingForFileChanges(system, diagnostic, options);
103135
- var output = "[" + ts.formatColorAndReset(getLocaleTimeString(system), ts.ForegroundColorEscapeSequences.Grey) + "] ";
103136
- output += "" + ts.flattenDiagnosticMessageText(diagnostic.messageText, system.newLine) + (newLine + newLine);
103115
+ var output = "[".concat(ts.formatColorAndReset(getLocaleTimeString(system), ts.ForegroundColorEscapeSequences.Grey), "] ");
103116
+ output += "".concat(ts.flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)).concat(newLine + newLine);
103137
103117
  system.write(output);
103138
103118
  } :
103139
103119
  function (diagnostic, newLine, options) {
@@ -103141,8 +103121,8 @@ var ts;
103141
103121
  if (!clearScreenIfNotWatchingForFileChanges(system, diagnostic, options)) {
103142
103122
  output += newLine;
103143
103123
  }
103144
- output += getLocaleTimeString(system) + " - ";
103145
- output += "" + ts.flattenDiagnosticMessageText(diagnostic.messageText, system.newLine) + getPlainDiagnosticFollowingNewLines(diagnostic, newLine);
103124
+ output += "".concat(getLocaleTimeString(system), " - ");
103125
+ output += "".concat(ts.flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)).concat(getPlainDiagnosticFollowingNewLines(diagnostic, newLine));
103146
103126
  system.write(output);
103147
103127
  };
103148
103128
  }
@@ -103164,7 +103144,7 @@ var ts;
103164
103144
  .map(function (errorDiagnostic) {
103165
103145
  if (errorDiagnostic.file === undefined)
103166
103146
  return;
103167
- return "" + errorDiagnostic.file.fileName;
103147
+ return "".concat(errorDiagnostic.file.fileName);
103168
103148
  });
103169
103149
  return filesInError.map(function (fileName) {
103170
103150
  var diagnosticForFileName = ts.find(diagnostics, function (diagnostic) {
@@ -103197,7 +103177,7 @@ var ts;
103197
103177
  if (errorCount === 0)
103198
103178
  return "";
103199
103179
  var nonNilFiles = filesInError.filter(function (fileInError) { return fileInError !== undefined; });
103200
- var distinctFileNamesWithLines = nonNilFiles.map(function (fileInError) { return fileInError.fileName + ":" + fileInError.line; })
103180
+ var distinctFileNamesWithLines = nonNilFiles.map(function (fileInError) { return "".concat(fileInError.fileName, ":").concat(fileInError.line); })
103201
103181
  .filter(function (value, index, self) { return self.indexOf(value) === index; });
103202
103182
  var firstFileReference = nonNilFiles[0] && prettyPathForFileError(nonNilFiles[0], host.getCurrentDirectory());
103203
103183
  var d = errorCount === 1 ?
@@ -103210,7 +103190,7 @@ var ts;
103210
103190
  ts.Diagnostics.Found_0_errors_in_the_same_file_starting_at_Colon_1 :
103211
103191
  ts.Diagnostics.Found_0_errors_in_1_files, errorCount, distinctFileNamesWithLines.length === 1 ? firstFileReference : distinctFileNamesWithLines.length);
103212
103192
  var suffix = distinctFileNamesWithLines.length > 1 ? createTabularErrorsDisplay(nonNilFiles, host) : "";
103213
- return "" + newLine + ts.flattenDiagnosticMessageText(d.messageText, newLine) + newLine + newLine + suffix;
103193
+ return "".concat(newLine).concat(ts.flattenDiagnosticMessageText(d.messageText, newLine)).concat(newLine).concat(newLine).concat(suffix);
103214
103194
  }
103215
103195
  ts.getErrorSummaryText = getErrorSummaryText;
103216
103196
  function createTabularErrorsDisplay(filesInError, host) {
@@ -103233,7 +103213,7 @@ var ts;
103233
103213
  " ".repeat(leftPaddingGoal - errorCountDigitsLength)
103234
103214
  : "";
103235
103215
  var fileRef = prettyPathForFileError(file, host.getCurrentDirectory());
103236
- tabularData += "" + leftPadding + errorCount + " " + fileRef + "\n";
103216
+ tabularData += "".concat(leftPadding).concat(errorCount, " ").concat(fileRef, "\n");
103237
103217
  });
103238
103218
  return tabularData;
103239
103219
  }
@@ -103260,9 +103240,9 @@ var ts;
103260
103240
  var relativeFileName = function (fileName) { return ts.convertToRelativePath(fileName, program.getCurrentDirectory(), getCanonicalFileName); };
103261
103241
  for (var _i = 0, _c = program.getSourceFiles(); _i < _c.length; _i++) {
103262
103242
  var file = _c[_i];
103263
- write("" + toFileName(file, relativeFileName));
103264
- (_a = reasons.get(file.path)) === null || _a === void 0 ? void 0 : _a.forEach(function (reason) { return write(" " + fileIncludeReasonToDiagnostics(program, reason, relativeFileName).messageText); });
103265
- (_b = explainIfFileIsRedirectAndImpliedFormat(file, relativeFileName)) === null || _b === void 0 ? void 0 : _b.forEach(function (d) { return write(" " + d.messageText); });
103243
+ write("".concat(toFileName(file, relativeFileName)));
103244
+ (_a = reasons.get(file.path)) === null || _a === void 0 ? void 0 : _a.forEach(function (reason) { return write(" ".concat(fileIncludeReasonToDiagnostics(program, reason, relativeFileName).messageText)); });
103245
+ (_b = explainIfFileIsRedirectAndImpliedFormat(file, relativeFileName)) === null || _b === void 0 ? void 0 : _b.forEach(function (d) { return write(" ".concat(d.messageText)); });
103266
103246
  }
103267
103247
  }
103268
103248
  ts.explainFiles = explainFiles;
@@ -103322,7 +103302,7 @@ var ts;
103322
103302
  if (isJsonFile && !ts.endsWith(includeSpec, ".json"))
103323
103303
  return false;
103324
103304
  var pattern = ts.getPatternFromSpec(includeSpec, basePath, "files");
103325
- return !!pattern && ts.getRegexFromPattern("(" + pattern + ")$", useCaseSensitiveFileNames).test(fileName);
103305
+ return !!pattern && ts.getRegexFromPattern("(".concat(pattern, ")$"), useCaseSensitiveFileNames).test(fileName);
103326
103306
  });
103327
103307
  }
103328
103308
  ts.getMatchedIncludeSpec = getMatchedIncludeSpec;
@@ -103331,7 +103311,7 @@ var ts;
103331
103311
  var options = program.getCompilerOptions();
103332
103312
  if (ts.isReferencedFile(reason)) {
103333
103313
  var referenceLocation = ts.getReferencedFileLocation(function (path) { return program.getSourceFileByPath(path); }, reason);
103334
- var referenceText = ts.isReferenceFileLocation(referenceLocation) ? referenceLocation.file.text.substring(referenceLocation.pos, referenceLocation.end) : "\"" + referenceLocation.text + "\"";
103314
+ var referenceText = ts.isReferenceFileLocation(referenceLocation) ? referenceLocation.file.text.substring(referenceLocation.pos, referenceLocation.end) : "\"".concat(referenceLocation.text, "\"");
103335
103315
  var message = void 0;
103336
103316
  ts.Debug.assert(ts.isReferenceFileLocation(referenceLocation) || reason.kind === ts.FileIncludeKind.Import, "Only synthetic references are imports");
103337
103317
  switch (reason.kind) {
@@ -103444,7 +103424,7 @@ var ts;
103444
103424
  var currentDir_1 = program.getCurrentDirectory();
103445
103425
  ts.forEach(emittedFiles, function (file) {
103446
103426
  var filepath = ts.getNormalizedAbsolutePath(file, currentDir_1);
103447
- write("TSFILE: " + filepath);
103427
+ write("TSFILE: ".concat(filepath));
103448
103428
  });
103449
103429
  listFiles(program, write);
103450
103430
  }
@@ -103767,7 +103747,7 @@ var ts;
103767
103747
  }
103768
103748
  var _b = ts.createWatchFactory(host, compilerOptions), watchFile = _b.watchFile, watchDirectory = _b.watchDirectory, writeLog = _b.writeLog;
103769
103749
  var getCanonicalFileName = ts.createGetCanonicalFileName(useCaseSensitiveFileNames);
103770
- writeLog("Current directory: " + currentDirectory + " CaseSensitiveFileNames: " + useCaseSensitiveFileNames);
103750
+ writeLog("Current directory: ".concat(currentDirectory, " CaseSensitiveFileNames: ").concat(useCaseSensitiveFileNames));
103771
103751
  var configFileWatcher;
103772
103752
  if (configFileName) {
103773
103753
  configFileWatcher = watchFile(configFileName, scheduleProgramReload, ts.PollingInterval.High, watchOptions, ts.WatchType.ConfigFile);
@@ -103913,10 +103893,10 @@ var ts;
103913
103893
  }
103914
103894
  function createNewProgram(hasInvalidatedResolution) {
103915
103895
  writeLog("CreatingProgramWith::");
103916
- writeLog(" roots: " + JSON.stringify(rootFileNames));
103917
- writeLog(" options: " + JSON.stringify(compilerOptions));
103896
+ writeLog(" roots: ".concat(JSON.stringify(rootFileNames)));
103897
+ writeLog(" options: ".concat(JSON.stringify(compilerOptions)));
103918
103898
  if (projectReferences)
103919
- writeLog(" projectReferences: " + JSON.stringify(projectReferences));
103899
+ writeLog(" projectReferences: ".concat(JSON.stringify(projectReferences)));
103920
103900
  var needsUpdateInTypeRootWatch = hasChangedCompilerOptions || !getCurrentProgram();
103921
103901
  hasChangedCompilerOptions = false;
103922
103902
  hasChangedConfigFileParsingErrors = false;
@@ -104051,7 +104031,7 @@ var ts;
104051
104031
  return resolutionCache.invalidateResolutionsOfFailedLookupLocations();
104052
104032
  }
104053
104033
  var pending = clearInvalidateResolutionsOfFailedLookupLocations();
104054
- writeLog("Scheduling invalidateFailedLookup" + (pending ? ", Cancelled earlier one" : ""));
104034
+ writeLog("Scheduling invalidateFailedLookup".concat(pending ? ", Cancelled earlier one" : ""));
104055
104035
  timerToInvalidateFailedLookupResolutions = host.setTimeout(invalidateResolutionsOfFailedLookup, 250);
104056
104036
  }
104057
104037
  function invalidateResolutionsOfFailedLookup() {
@@ -104108,7 +104088,7 @@ var ts;
104108
104088
  synchronizeProgram();
104109
104089
  }
104110
104090
  function reloadConfigFile() {
104111
- writeLog("Reloading config file: " + configFileName);
104091
+ writeLog("Reloading config file: ".concat(configFileName));
104112
104092
  reloadLevel = ts.ConfigFileProgramReloadLevel.None;
104113
104093
  if (cachedDirectoryStructureHost) {
104114
104094
  cachedDirectoryStructureHost.clearCache();
@@ -104146,7 +104126,7 @@ var ts;
104146
104126
  return config.parsedCommandLine;
104147
104127
  }
104148
104128
  }
104149
- writeLog("Loading config file: " + configFileName);
104129
+ writeLog("Loading config file: ".concat(configFileName));
104150
104130
  var parsedCommandLine = host.getParsedCommandLine ?
104151
104131
  host.getParsedCommandLine(configFileName) :
104152
104132
  getParsedCommandLineFromConfigFileHost(configFileName);
@@ -104389,8 +104369,8 @@ var ts;
104389
104369
  ts.getBuildOrderFromAnyBuildOrder = getBuildOrderFromAnyBuildOrder;
104390
104370
  function createBuilderStatusReporter(system, pretty) {
104391
104371
  return function (diagnostic) {
104392
- var output = pretty ? "[" + ts.formatColorAndReset(ts.getLocaleTimeString(system), ts.ForegroundColorEscapeSequences.Grey) + "] " : ts.getLocaleTimeString(system) + " - ";
104393
- output += "" + ts.flattenDiagnosticMessageText(diagnostic.messageText, system.newLine) + (system.newLine + system.newLine);
104372
+ var output = pretty ? "[".concat(ts.formatColorAndReset(ts.getLocaleTimeString(system), ts.ForegroundColorEscapeSequences.Grey), "] ") : "".concat(ts.getLocaleTimeString(system), " - ");
104373
+ output += "".concat(ts.flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)).concat(system.newLine + system.newLine);
104394
104374
  system.write(output);
104395
104375
  };
104396
104376
  }
@@ -105167,7 +105147,7 @@ var ts;
105167
105147
  function listEmittedFile(_a, proj, file) {
105168
105148
  var write = _a.write;
105169
105149
  if (write && proj.options.listEmittedFiles) {
105170
- write("TSFILE: " + file);
105150
+ write("TSFILE: ".concat(file));
105171
105151
  }
105172
105152
  }
105173
105153
  function getOldProgram(_a, proj, parsed) {
@@ -105196,7 +105176,7 @@ var ts;
105196
105176
  function buildErrors(state, resolvedPath, program, config, diagnostics, buildResult, errorType) {
105197
105177
  var canEmitBuildInfo = program && !ts.outFile(program.getCompilerOptions());
105198
105178
  reportAndStoreErrors(state, resolvedPath, diagnostics);
105199
- state.projectStatus.set(resolvedPath, { type: ts.UpToDateStatusType.Unbuildable, reason: errorType + " errors" });
105179
+ state.projectStatus.set(resolvedPath, { type: ts.UpToDateStatusType.Unbuildable, reason: "".concat(errorType, " errors") });
105200
105180
  if (canEmitBuildInfo)
105201
105181
  return { buildResult: buildResult, step: BuildStep.EmitBuildInfo };
105202
105182
  afterProgramDone(state, program, config);
@@ -105399,7 +105379,7 @@ var ts;
105399
105379
  if (inputTime === ts.missingFileModifiedTime) {
105400
105380
  return {
105401
105381
  type: ts.UpToDateStatusType.Unbuildable,
105402
- reason: inputFile + " does not exist"
105382
+ reason: "".concat(inputFile, " does not exist")
105403
105383
  };
105404
105384
  }
105405
105385
  if (buildInfoTime && buildInfoTime < inputTime) {
@@ -105739,7 +105719,7 @@ var ts;
105739
105719
  }
105740
105720
  }
105741
105721
  if (filesToDelete) {
105742
- reportStatus(state, ts.Diagnostics.A_non_dry_build_would_delete_the_following_files_Colon_0, filesToDelete.map(function (f) { return "\r\n * " + f; }).join(""));
105722
+ 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(""));
105743
105723
  }
105744
105724
  return ts.ExitStatus.Success;
105745
105725
  }
@@ -106099,7 +106079,7 @@ var ts;
106099
106079
  };
106100
106080
  }
106101
106081
  function bold(str) {
106102
- return "\u001B[1m" + str + "\u001B[22m";
106082
+ return "\u001B[1m".concat(str, "\u001B[22m");
106103
106083
  }
106104
106084
  var isWindows = sys.getEnvironmentVariable("OS") && ts.stringContains(sys.getEnvironmentVariable("OS").toLowerCase(), "windows");
106105
106085
  var isWindowsTerminal = sys.getEnvironmentVariable("WT_SESSION");
@@ -106108,19 +106088,19 @@ var ts;
106108
106088
  if (isWindows && !isWindowsTerminal && !isVSCode) {
106109
106089
  return brightWhite(str);
106110
106090
  }
106111
- return "\u001B[94m" + str + "\u001B[39m";
106091
+ return "\u001B[94m".concat(str, "\u001B[39m");
106112
106092
  }
106113
106093
  var supportsRicherColors = sys.getEnvironmentVariable("COLORTERM") === "truecolor" || sys.getEnvironmentVariable("TERM") === "xterm-256color";
106114
106094
  function blueBackground(str) {
106115
106095
  if (supportsRicherColors) {
106116
- return "\u001B[48;5;68m" + str + "\u001B[39;49m";
106096
+ return "\u001B[48;5;68m".concat(str, "\u001B[39;49m");
106117
106097
  }
106118
106098
  else {
106119
- return "\u001B[44m" + str + "\u001B[39;49m";
106099
+ return "\u001B[44m".concat(str, "\u001B[39;49m");
106120
106100
  }
106121
106101
  }
106122
106102
  function brightWhite(str) {
106123
- return "\u001B[97m" + str + "\u001B[39m";
106103
+ return "\u001B[97m".concat(str, "\u001B[39m");
106124
106104
  }
106125
106105
  return {
106126
106106
  bold: bold,
@@ -106130,7 +106110,7 @@ var ts;
106130
106110
  };
106131
106111
  }
106132
106112
  function getDisplayNameTextOfOption(option) {
106133
- return "--" + option.name + (option.shortName ? ", -" + option.shortName : "");
106113
+ return "--".concat(option.name).concat(option.shortName ? ", -".concat(option.shortName) : "");
106134
106114
  }
106135
106115
  function generateOptionOutput(sys, option, rightAlignOfLeft, leftAlignOfRight) {
106136
106116
  var _a, _b;
@@ -106167,13 +106147,13 @@ var ts;
106167
106147
  text.push(sys.newLine);
106168
106148
  if (showAdditionalInfoOutput(valueCandidates, option)) {
106169
106149
  if (valueCandidates) {
106170
- text.push(valueCandidates.valueType + " " + valueCandidates.possibleValues);
106150
+ text.push("".concat(valueCandidates.valueType, " ").concat(valueCandidates.possibleValues));
106171
106151
  }
106172
106152
  if (defaultValueDescription) {
106173
106153
  if (valueCandidates)
106174
106154
  text.push(sys.newLine);
106175
106155
  var diagType = ts.getDiagnosticText(ts.Diagnostics.default_Colon);
106176
- text.push(diagType + " " + defaultValueDescription);
106156
+ text.push("".concat(diagType, " ").concat(defaultValueDescription));
106177
106157
  }
106178
106158
  text.push(sys.newLine);
106179
106159
  }
@@ -106222,7 +106202,7 @@ var ts;
106222
106202
  }
106223
106203
  var curRight = remainRight.substr(0, rightCharacterNumber);
106224
106204
  remainRight = remainRight.slice(rightCharacterNumber);
106225
- res.push("" + curLeft + curRight);
106205
+ res.push("".concat(curLeft).concat(curRight));
106226
106206
  isFirstLine = false;
106227
106207
  }
106228
106208
  return res;
@@ -106323,7 +106303,7 @@ var ts;
106323
106303
  categoryMap.set(curCategory, optionsOfCurCategory);
106324
106304
  }
106325
106305
  categoryMap.forEach(function (value, key) {
106326
- res.push("### " + key + sys.newLine + sys.newLine);
106306
+ res.push("### ".concat(key).concat(sys.newLine).concat(sys.newLine));
106327
106307
  res = __spreadArray(__spreadArray([], res, true), generateGroupOptionOutput(sys, value), true);
106328
106308
  });
106329
106309
  if (afterOptionsDescription) {
@@ -106333,7 +106313,7 @@ var ts;
106333
106313
  }
106334
106314
  function printEasyHelp(sys, simpleOptions) {
106335
106315
  var colors = createColors(sys);
106336
- var output = __spreadArray([], getHeader(sys, ts.getDiagnosticText(ts.Diagnostics.tsc_Colon_The_TypeScript_Compiler) + " - " + ts.getDiagnosticText(ts.Diagnostics.Version_0, ts.version)), true);
106316
+ 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);
106337
106317
  output.push(colors.bold(ts.getDiagnosticText(ts.Diagnostics.COMMON_COMMANDS)) + sys.newLine + sys.newLine);
106338
106318
  example("tsc", ts.Diagnostics.Compiles_the_current_project_tsconfig_json_in_the_working_directory);
106339
106319
  example("tsc app.ts util.ts", ts.Diagnostics.Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options);
@@ -106359,7 +106339,7 @@ var ts;
106359
106339
  }
106360
106340
  }
106361
106341
  function printAllHelp(sys, compilerOptions, buildOptions, watchOptions) {
106362
- var output = __spreadArray([], getHeader(sys, ts.getDiagnosticText(ts.Diagnostics.tsc_Colon_The_TypeScript_Compiler) + " - " + ts.getDiagnosticText(ts.Diagnostics.Version_0, ts.version)), true);
106342
+ 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);
106363
106343
  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/tsc")), true);
106364
106344
  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);
106365
106345
  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);
@@ -106369,7 +106349,7 @@ var ts;
106369
106349
  }
106370
106350
  }
106371
106351
  function printBuildHelp(sys, buildOptions) {
106372
- var output = __spreadArray([], getHeader(sys, ts.getDiagnosticText(ts.Diagnostics.tsc_Colon_The_TypeScript_Compiler) + " - " + ts.getDiagnosticText(ts.Diagnostics.Version_0, ts.version)), true);
106352
+ 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);
106373
106353
  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);
106374
106354
  for (var _i = 0, output_3 = output; _i < output_3.length; _i++) {
106375
106355
  var line = output_3[_i];
@@ -106750,7 +106730,7 @@ var ts;
106750
106730
  reportCountStatistic("Subtype cache size", caches.subtype);
106751
106731
  reportCountStatistic("Strict subtype cache size", caches.strictSubtype);
106752
106732
  if (isPerformanceEnabled) {
106753
- ts.performance.forEachMeasure(function (name, duration) { return reportTimeStatistic(name + " time", duration); });
106733
+ ts.performance.forEachMeasure(function (name, duration) { return reportTimeStatistic("".concat(name, " time"), duration); });
106754
106734
  }
106755
106735
  }
106756
106736
  else if (isPerformanceEnabled) {
@@ -106822,7 +106802,7 @@ var ts;
106822
106802
  // enable deprecation logging
106823
106803
  ts.Debug.loggingHost = {
106824
106804
  log: function (_level, s) {
106825
- ts.sys.write("" + (s || "") + ts.sys.newLine);
106805
+ ts.sys.write("".concat(s || "").concat(ts.sys.newLine));
106826
106806
  }
106827
106807
  };
106828
106808
  if (ts.Debug.isDebugging) {