/
astafievk
/
source_code
Обзор
Документация
Войти
/
astafievk
/
source_code
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Api/node_modules/sequelize/lib/utils/class-to-invokable.js
21 строка
608 B
astafievK
source code
21 июн 2024, 21:02
21 июн 2024, 21:02
37a1d03
Код
Авторство
О чём код?
var __defProp = Object.defineProperty; var __markAsModule = (target) => __defProp(target, "__esModule", { value: true }); var __export = (target, all) => { __markAsModule(target); for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; __export(exports, { classToInvokable: () => classToInvokable }); function classToInvokable(Class) { return new Proxy(Class, { apply(_target, _thisArg, args) { return new Class(...args); }, construct(_target, args) { return new Class(...args); } }); } //# sourceMappingURL=class-to-invokable.js.map