mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-09-28 15:18:37 +02:00
10 lines
218 B
JavaScript
10 lines
218 B
JavaScript
|
/* */
|
||
|
"use strict";
|
||
|
|
||
|
exports["default"] = function (instance, Constructor) {
|
||
|
if (!(instance instanceof Constructor)) {
|
||
|
throw new TypeError("Cannot call a class as a function");
|
||
|
}
|
||
|
};
|
||
|
|
||
|
exports.__esModule = true;
|