UNPKG

@anycli/config

Version:

base config object and standard interfaces for anycli components

8 lines (7 loc) 306 B
export declare function flatMap<T, U>(arr: T[], fn: (i: T) => U[]): U[]; export declare function mapValues<T extends object, TResult>(obj: { [P in keyof T]: T[P]; }, fn: (i: T[keyof T], k: keyof T) => TResult): { [P in keyof T]: TResult; }; export declare function loadJSONSync(path: string): any;