UNPKG

telefunc

Version:

Remote functions. Instead of API.

17 lines (16 loc) 553 B
export { createDebugger }; export { isDebugActivated }; export type { Debug }; declare const flags: readonly ["telefunc:resolve"]; type Flag = (typeof flags)[number]; type Debug = ReturnType<typeof createDebugger>; type Options = { serialization?: { emptyArray?: string; }; }; declare function createDebugger(flag: Flag, optionsGlobal?: Options): ((...msgs: unknown[]) => void) & { options: (optionsLocal: Options) => (...msgs: unknown[]) => void; isActivated: boolean; }; declare function isDebugActivated(flag: Flag): boolean;