Files
documentation/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js
2024-03-22 03:47:51 +05:30

3 lines
127 B
JavaScript

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