aboutsummaryrefslogtreecommitdiff
path: root/node_modules/babel-runtime/helpers/classCallCheck.js
blob: 63d6d8f30cff375916d4a65861ce568f8ad46256 (plain)
1
2
3
4
5
6
7
8
9
"use strict";

exports.__esModule = true;

exports.default = function (instance, Constructor) {
  if (!(instance instanceof Constructor)) {
    throw new TypeError("Cannot call a class as a function");
  }
};