This commit is contained in:
2025-01-27 22:41:25 +09:00
parent c91142a039
commit bf44daf2e3
4209 changed files with 422452 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
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