diff options
Diffstat (limited to 'node_modules/@babel/runtime/helpers/esm/callSuper.js')
| -rw-r--r-- | node_modules/@babel/runtime/helpers/esm/callSuper.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/node_modules/@babel/runtime/helpers/esm/callSuper.js b/node_modules/@babel/runtime/helpers/esm/callSuper.js index 33a3b607..6d17a4ee 100644 --- a/node_modules/@babel/runtime/helpers/esm/callSuper.js +++ b/node_modules/@babel/runtime/helpers/esm/callSuper.js @@ -1,6 +1,7 @@ import getPrototypeOf from "./getPrototypeOf.js"; import isNativeReflectConstruct from "./isNativeReflectConstruct.js"; import possibleConstructorReturn from "./possibleConstructorReturn.js"; -export default function _callSuper(t, o, e) { +function _callSuper(t, o, e) { return o = getPrototypeOf(o), possibleConstructorReturn(t, isNativeReflectConstruct() ? Reflect.construct(o, e || [], getPrototypeOf(t).constructor) : o.apply(t, e)); -}
\ No newline at end of file +} +export { _callSuper as default };
\ No newline at end of file |
