UNPKG

@joker.front/core

Version:

Joker is a framework platform designed to provide support for all development scenarios. Among them, Joker.front is a front-end development framework under the Joker platform. It provides standardized front-end development standards, adopts an object-orie

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;