ee-ts-util
Version:
typescript utilities and functions
10 lines (9 loc) • 298 B
TypeScript
import "fp-ts";
import { Either } from "fp-ts/lib/Either";
export declare type Definition = {
[name: string]: Format;
};
export declare type Format = {
format?: string | any[];
};
export declare const buildConfigAdapter: (definition: Definition) => Either<string, (key: string) => string>;