UNPKG

@joker.front/core

Version:

Joker is a framework platform engineered to support all development scenarios. Within its ecosystem, Joker.front stands as a front-end development framework. It delivers standardized front-end development protocols and employs an object-oriented, componen

14 lines (13 loc) 572 B
export type GlobalFunctionType = (...args: any[]) => any; export declare const __GLONAL_FUNTIONS__: Record<string, GlobalFunctionType>; /** * Register global functions * @param functions Object containing function names and implementations */ export declare function registerGlobalFunction(functions: Record<string, GlobalFunctionType>): void; /** * Get a registered global function by key * @param key Function name * @returns Registered function or undefined if not found */ export declare function getGlobalFunction(key: string): GlobalFunctionType | undefined;