Preview: index.js
Size: 300 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/mimic-fn/index.js
'use strict';
const mimicFn = (to, from) => {
for (const prop of Reflect.ownKeys(from)) {
Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));
}
return to;
};
module.exports = mimicFn;
// TODO: Remove this for the next major release
module.exports.default = mimicFn;
Directory Contents
Dirs: 0 × Files: 5