aboutsummaryrefslogtreecommitdiff
path: root/node_modules/tslib/tslib.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/tslib/tslib.js')
-rw-r--r--node_modules/tslib/tslib.js17
1 files changed, 16 insertions, 1 deletions
diff --git a/node_modules/tslib/tslib.js b/node_modules/tslib/tslib.js
index f8c5d0e08..e666988bb 100644
--- a/node_modules/tslib/tslib.js
+++ b/node_modules/tslib/tslib.js
@@ -29,6 +29,7 @@ var __await;
var __asyncGenerator;
var __asyncDelegator;
var __asyncValues;
+var __makeTemplateObject;
(function (factory) {
var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
if (typeof define === "function" && define.amd) {
@@ -41,6 +42,14 @@ var __asyncValues;
factory(createExporter(root));
}
function createExporter(exports, previous) {
+ if (exports !== root) {
+ if (typeof Object.create === "function") {
+ Object.defineProperty(exports, "__esModule", { value: true });
+ }
+ else {
+ exports.__esModule = true;
+ }
+ }
return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };
}
})
@@ -191,6 +200,11 @@ var __asyncValues;
return m ? m.call(o) : typeof __values === "function" ? __values(o) : o[Symbol.iterator]();
};
+ __makeTemplateObject = function (cooked, raw) {
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
+ return cooked;
+ };
+
exporter("__extends", __extends);
exporter("__assign", __assign);
exporter("__rest", __rest);
@@ -207,4 +221,5 @@ var __asyncValues;
exporter("__asyncGenerator", __asyncGenerator);
exporter("__asyncDelegator", __asyncDelegator);
exporter("__asyncValues", __asyncValues);
-}); \ No newline at end of file
+ exporter("__makeTemplateObject", __makeTemplateObject);
+});