diff options
Diffstat (limited to 'node_modules/@babel/runtime/helpers/esm/construct.js')
| -rw-r--r-- | node_modules/@babel/runtime/helpers/esm/construct.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/node_modules/@babel/runtime/helpers/esm/construct.js b/node_modules/@babel/runtime/helpers/esm/construct.js index ce6b2783..91609ff7 100644 --- a/node_modules/@babel/runtime/helpers/esm/construct.js +++ b/node_modules/@babel/runtime/helpers/esm/construct.js @@ -1,9 +1,10 @@ -import setPrototypeOf from "./setPrototypeOf.js"; import isNativeReflectConstruct from "./isNativeReflectConstruct.js"; -export default function _construct(t, e, r) { +import setPrototypeOf from "./setPrototypeOf.js"; +function _construct(t, e, r) { if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && setPrototypeOf(p, r.prototype), p; -}
\ No newline at end of file +} +export { _construct as default };
\ No newline at end of file |
