swc/packages/helpers/esm/_non_iterable_rest.js

5 lines
243 B
JavaScript

export function _non_iterable_rest() {
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
export { _non_iterable_rest as _ };