@@ -14,31 +14,6 @@ and limitations under the License.
14
14
***************************************************************************** */
15
15
16
16
17
- "use strict";
18
- var __extends = (this && this.__extends) || (function () {
19
- var extendStatics = function (d, b) {
20
- extendStatics = Object.setPrototypeOf ||
21
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
22
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
23
- return extendStatics(d, b);
24
- };
25
- return function (d, b) {
26
- extendStatics(d, b);
27
- function __() { this.constructor = d; }
28
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
29
- };
30
- })();
31
- var __assign = (this && this.__assign) || function () {
32
- __assign = Object.assign || function(t) {
33
- for (var s, i = 1, n = arguments.length; i < n; i++) {
34
- s = arguments[i];
35
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
36
- t[p] = s[p];
37
- }
38
- return t;
39
- };
40
- return __assign.apply(this, arguments);
41
- };
42
17
"use strict";
43
18
var __assign = (this && this.__assign) || function () {
44
19
__assign = Object.assign || function(t) {
@@ -82,6 +57,28 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
82
57
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
83
58
return cooked;
84
59
};
60
+ var __extends = (this && this.__extends) || (function () {
61
+ var extendStatics = function (d, b) {
62
+ extendStatics = Object.setPrototypeOf ||
63
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
64
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
65
+ return extendStatics(d, b);
66
+ };
67
+ return function (d, b) {
68
+ extendStatics(d, b);
69
+ function __() { this.constructor = d; }
70
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
71
+ };
72
+ })();
73
+ var __rest = (this && this.__rest) || function (s, e) {
74
+ var t = {};
75
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
76
+ t[p] = s[p];
77
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
78
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
79
+ t[p[i]] = s[p[i]];
80
+ return t;
81
+ };
85
82
var ts;
86
83
(function (ts) {
87
84
// WARNING: The script `configureNightly.ts` uses a regexp to parse out these values.
@@ -51064,7 +51061,7 @@ var ts;
51064
51061
if (isTupleType(restType)) {
51065
51062
var associatedNames = restType.target.associatedNames;
51066
51063
var index = pos - paramCount;
51067
- return associatedNames ? associatedNames[index] : restParameter.escapedName + "_" + index;
51064
+ return associatedNames && associatedNames[index] || restParameter.escapedName + "_" + index;
51068
51065
}
51069
51066
return restParameter.escapedName;
51070
51067
}
@@ -85632,7 +85629,7 @@ var ts;
85632
85629
* Emits any prologue directives at the start of a Statement list, returning the
85633
85630
* number of prologue directives written to the output.
85634
85631
*/
85635
- function emitPrologueDirectives(statements, sourceFile, seenPrologueDirectives) {
85632
+ function emitPrologueDirectives(statements, sourceFile, seenPrologueDirectives, recordBundleFileSection ) {
85636
85633
var needsToSetSourceFile = !!sourceFile;
85637
85634
for (var i = 0; i < statements.length; i++) {
85638
85635
var statement = statements[i];
@@ -85646,7 +85643,7 @@ var ts;
85646
85643
writeLine();
85647
85644
var pos = writer.getTextPos();
85648
85645
emit(statement);
85649
- if (bundleFileInfo)
85646
+ if (recordBundleFileSection && bundleFileInfo)
85650
85647
bundleFileInfo.sections.push({ pos: pos, end: writer.getTextPos(), kind: "prologue" /* Prologue */, data: statement.expression.text });
85651
85648
if (seenPrologueDirectives) {
85652
85649
seenPrologueDirectives.set(statement.expression.text, true);
@@ -85687,7 +85684,7 @@ var ts;
85687
85684
}
85688
85685
for (var _c = 0, _d = sourceFileOrBundle.sourceFiles; _c < _d.length; _c++) {
85689
85686
var sourceFile = _d[_c];
85690
- emitPrologueDirectives(sourceFile.statements, sourceFile, seenPrologueDirectives);
85687
+ emitPrologueDirectives(sourceFile.statements, sourceFile, seenPrologueDirectives, /*recordBundleFileSection*/ true );
85691
85688
}
85692
85689
setSourceFile(undefined);
85693
85690
}
@@ -94402,32 +94399,6 @@ var ts;
94402
94399
}
94403
94400
}
94404
94401
})(ts || (ts = {}));
94405
- //# sourceMappingURL=compiler.js.map
94406
- "use strict";
94407
- var __assign = (this && this.__assign) || function () {
94408
- __assign = Object.assign || function(t) {
94409
- for (var s, i = 1, n = arguments.length; i < n; i++) {
94410
- s = arguments[i];
94411
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
94412
- t[p] = s[p];
94413
- }
94414
- return t;
94415
- };
94416
- return __assign.apply(this, arguments);
94417
- };
94418
- var __extends = (this && this.__extends) || (function () {
94419
- var extendStatics = function (d, b) {
94420
- extendStatics = Object.setPrototypeOf ||
94421
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
94422
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
94423
- return extendStatics(d, b);
94424
- };
94425
- return function (d, b) {
94426
- extendStatics(d, b);
94427
- function __() { this.constructor = d; }
94428
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
94429
- };
94430
- })();
94431
94402
var ts;
94432
94403
(function (ts) {
94433
94404
var ScriptSnapshot;
@@ -122090,8 +122061,6 @@ var TypeScript;
122090
122061
// TODO: it should be moved into a namespace though.
122091
122062
/* @internal */
122092
122063
var toolsVersion = ts.versionMajorMinor;
122093
- //# sourceMappingURL=services.js.map
122094
- "use strict";
122095
122064
/* @internal */
122096
122065
var ts;
122097
122066
(function (ts) {
@@ -122432,41 +122401,6 @@ var ts;
122432
122401
JsTyping.renderPackageNameValidationFailure = renderPackageNameValidationFailure;
122433
122402
})(JsTyping = ts.JsTyping || (ts.JsTyping = {}));
122434
122403
})(ts || (ts = {}));
122435
- //# sourceMappingURL=jsTyping.js.map
122436
- "use strict";
122437
- var __assign = (this && this.__assign) || function () {
122438
- __assign = Object.assign || function(t) {
122439
- for (var s, i = 1, n = arguments.length; i < n; i++) {
122440
- s = arguments[i];
122441
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
122442
- t[p] = s[p];
122443
- }
122444
- return t;
122445
- };
122446
- return __assign.apply(this, arguments);
122447
- };
122448
- var __extends = (this && this.__extends) || (function () {
122449
- var extendStatics = function (d, b) {
122450
- extendStatics = Object.setPrototypeOf ||
122451
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
122452
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
122453
- return extendStatics(d, b);
122454
- };
122455
- return function (d, b) {
122456
- extendStatics(d, b);
122457
- function __() { this.constructor = d; }
122458
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
122459
- };
122460
- })();
122461
- var __rest = (this && this.__rest) || function (s, e) {
122462
- var t = {};
122463
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
122464
- t[p] = s[p];
122465
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
122466
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
122467
- t[p[i]] = s[p[i]];
122468
- return t;
122469
- };
122470
122404
var ts;
122471
122405
(function (ts) {
122472
122406
var server;
@@ -130295,7 +130229,6 @@ var ts;
130295
130229
}());
130296
130230
})(server = ts.server || (ts.server = {}));
130297
130231
})(ts || (ts = {}));
130298
- //# sourceMappingURL=server.js.map
130299
130232
// tslint:disable no-unnecessary-type-assertion (TODO: tslint can't find node types)
130300
130233
var ts;
130301
130234
(function (ts) {
0 commit comments