aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@babel/runtime/helpers/classCallCheck.js
blob: f389f2e82b16d2b7717ba1fd804788c40ce8841a (plain)
1
2
3
4
5
6
7
function _classCallCheck(instance, Constructor) {
  if (!(instance instanceof Constructor)) {
    throw new TypeError("Cannot call a class as a function");
  }
}

module.exports = _classCallCheck;