5 lines
No EOL
176 B
JavaScript
Executable file
5 lines
No EOL
176 B
JavaScript
Executable file
export default function _classCallCheck(instance, Constructor) {
|
|
if (!(instance instanceof Constructor)) {
|
|
throw new TypeError("Cannot call a class as a function");
|
|
}
|
|
} |