@effect-ts/system
Version:
Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.
19 lines (17 loc) • 339 B
JavaScript
// ets_tracing: off
let patched = false;
export function patch() {
if (patched || Object.prototype["|>"]) {
return;
}
Object.defineProperty(Object.prototype, "|>", {
value(next) {
return next(this);
},
enumerable: false,
writable: true
});
patched = true;
}
patch();
//# sourceMappingURL=index.mjs.map