swc/packages/helpers/esm/_object_destructuring_empty.js

7 lines
195 B
JavaScript

export function _object_destructuring_empty(o) {
if (o === null || o === void 0) throw new TypeError("Cannot destructure " + o);
return o;
}
export { _object_destructuring_empty as _ };