Files
novarix.uk/node_modules/@swc/helpers/cjs/_export_star.cjs
T
Kismet Hasanaj 39a8a128be including-modules
2026-05-03 00:14:08 +02:00

18 lines
417 B
JavaScript

"use strict";
function _export_star(from, to) {
Object.keys(from).forEach(function(k) {
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
Object.defineProperty(to, k, {
enumerable: true,
get: function() {
return from[k];
}
});
}
});
return from;
}
exports._ = _export_star;