5 lines
160 B
JavaScript
5 lines
160 B
JavaScript
|
function _objectDestructuringEmpty(obj) {
|
||
|
if (obj == null) throw new TypeError("Cannot destructure undefined");
|
||
|
}
|
||
|
|
||
|
module.exports = _objectDestructuringEmpty;
|