first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
/**
* Allows you to hoist static functions in components.
* Created for the purpose of fixing broken static functions in classes
* that utilize decorators.
*
* @public
* @param source - The object where the methods are hoisted from.
* @param dest - The object to hoist the methods onto.
* @returns The dest object with methods added
*/
define(["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.hoistStatics = hoistStatics;
function hoistStatics(source, dest) {
for (var name_1 in source) {
if (source.hasOwnProperty(name_1)) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
dest[name_1] = source[name_1];
}
}
return dest;
}
});
//# sourceMappingURL=hoistStatics.js.map