2024-01-29 09:26:07 +08:00

3 lines
127 B
JavaScript

export default function _objectDestructuringEmpty(obj) {
if (obj == null) throw new TypeError("Cannot destructure " + obj);
}