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

Function createExporter

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

Source from the content-addressed store, hash-verified

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

Callers 1

tslib.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…