classCallCheck.js 208 B

123456789
  1. "use strict";
  2. exports.__esModule = true;
  3. exports.default = function (instance, Constructor) {
  4. if (!(instance instanceof Constructor)) {
  5. throw new TypeError("Cannot call a class as a function");
  6. }
  7. };