classCallCheck.js 176 Bytes Raw Blame History Permalink 1 2 3 4 5 export default function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }