UNPKG

auto-console-group

Version:
12 lines (11 loc) 456 B
export type Entry = [string, (...args: unknown[]) => void]; type ValueEntry = [string, (value: any) => void]; type Obj = Record<string, any>; type Func = (key: string) => Entry; type Target = { [key: string]: unknown; }; export declare const createNonDeferrable: (key: string) => ValueEntry; export declare const setValue: (target: Target) => (key: string) => ValueEntry; declare const _default: (obj: Obj, func: Func) => Obj; export default _default;