Update from Vibe Studio

This commit is contained in:
Vibe Studio
2026-01-09 14:52:46 +00:00
parent 42a0efe70b
commit 47fa6d98b2
28661 changed files with 2421771 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
/** 如果是个方法执行一下它 */
export declare function runFunction<T extends any[]>(valueEnum: any, ...rest: T): any;

View File

@@ -0,0 +1,10 @@
/** 如果是个方法执行一下它 */
export function runFunction(valueEnum) {
if (typeof valueEnum === 'function') {
for (var _len = arguments.length, rest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
rest[_key - 1] = arguments[_key];
}
return valueEnum.apply(void 0, rest);
}
return valueEnum;
}