swc/packages/helpers/esm/_assert_this_initialized.js

7 lines
223 B
JavaScript

export function _assert_this_initialized(self) {
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return self;
}
export { _assert_this_initialized as _ };