You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for (var s, i = 1, n = arguments.length; i < n; i++) {
4
-
s = arguments[i];
5
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
-
t[p] = s[p];
7
-
}
8
-
return t;
2
+
var __assign = (this && this.__assign) || function () {
3
+
__assign = Object.assign || function(t) {
4
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+
s = arguments[i];
6
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+
t[p] = s[p];
8
+
}
9
+
return t;
10
+
};
11
+
return __assign.apply(this, arguments);
9
12
};
10
13
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
11
14
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
@@ -53963,7 +53966,7 @@ var ts;
53963
53966
name: "typescript:assign",
53964
53967
scoped: false,
53965
53968
priority: 1,
53966
-
text: "\n var __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };"
53969
+
text: "\n var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };"
53967
53970
};
53968
53971
function createAssignHelper(context, attributesSegments) {
53969
53972
if (context.getCompilerOptions().target >= 2) {
@@ -56440,7 +56443,7 @@ var ts;
56440
56443
name: "typescript:extends",
56441
56444
scoped: false,
56442
56445
priority: 0,
56443
-
text: "\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();"
56446
+
text: "\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n }\n\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();"
56444
56447
};
56445
56448
var templateObjectHelper = {
56446
56449
name: "typescript:makeTemplateObject",
@@ -61783,13 +61786,17 @@ var ts;
61783
61786
var offsetLine_1 = writer.getLine();
61784
61787
var firstLineColumnOffset_1 = writer.getColumn();
61785
61788
var originalMap_1 = parsed;
61789
+
var sourcesDirectoryPath_1 = compilerOptions.sourceRoot ? host.getCommonSourceDirectory() : sourceMapDir;
61790
+
var resolvedPathCache_1 = ts.createMap();
61786
61791
ts.sourcemaps.calculateDecodedMappings(originalMap_1, function (raw) {
61787
61792
var rawPath = originalMap_1.sources[raw.sourceIndex];
61788
61793
var relativePath = originalMap_1.sourceRoot ? ts.combinePaths(originalMap_1.sourceRoot, rawPath) : rawPath;
61789
61794
var combinedPath = ts.combinePaths(ts.getDirectoryPath(node.sourceMapPath), relativePath);
61790
-
var sourcesDirectoryPath = compilerOptions.sourceRoot ? host.getCommonSourceDirectory() : sourceMapDir;
61791
-
var resolvedPath = ts.getRelativePathToDirectoryOrUrl(sourcesDirectoryPath, combinedPath, host.getCurrentDirectory(), host.getCanonicalFileName, true);
61792
-
var absolutePath = ts.getNormalizedAbsolutePath(resolvedPath, sourcesDirectoryPath);
0 commit comments