MCPcopy Create free account
hub / github.com/microsoft/tslib / createExporter

Function createExporter

tslib.js:56–66  ·  view source on GitHub ↗
(exports, previous)

Source from the content-addressed store, hash-verified

54 factory(createExporter(root));
55 }
56 function createExporter(exports, previous) {
57 if (exports !== root) {
58 if (typeof Object.create === "function") {
59 Object.defineProperty(exports, "__esModule", { value: true });
60 }
61 else {
62 exports.__esModule = true;
63 }
64 }
65 return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };
66 }
67})
68(function (exporter) {
69 var extendStatics = Object.setPrototypeOf ||

Callers 1

tslib.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected