iwmlib/3rdparty/systemjs/babel-helpers/objectDestructuringEmpty.js

3 lines
108 B
JavaScript
Raw Normal View History

2019-03-21 09:57:27 +01:00
export default (function (obj) {
if (obj == null) throw new TypeError("Cannot destructure undefined");
});