mirror of
https://github.com/swc-project/swc.git
synced 2024-12-28 08:04:43 +03:00
7 lines
223 B
JavaScript
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 _ };
|