swc/packages/helpers/esm/_non_iterable_spread.js

5 lines
242 B
JavaScript

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