We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b780e46 commit 375b3f6Copy full SHA for 375b3f6
tslib.js
@@ -42,11 +42,13 @@ var __makeTemplateObject;
42
factory(createExporter(root));
43
}
44
function createExporter(exports, previous) {
45
- if (typeof Object.create === "function") {
46
- Object.defineProperty(exports, "__esModule", { value: true });
47
- }
48
- else {
49
- exports.__esModule = true;
+ if (exports !== root) {
+ if (typeof Object.create === "function") {
+ Object.defineProperty(exports, "__esModule", { value: true });
+ }
+ else {
50
+ exports.__esModule = true;
51
52
53
return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };
54
0 commit comments