'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;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
index.d.ts | File | 1.18 KB | 0644 |
|
index.js | File | 300 B | 0644 |
|
license | File | 1.08 KB | 0644 |
|
package.json | File | 3.38 KB | 0644 |
|
readme.md | File | 1.17 KB | 0644 |
|