UNPKG

ee-ts-util

Version:

typescript utilities and functions

7 lines (6 loc) 375 B
export declare type Entry = string; export declare type Header = string; export declare type CsvContent = string; export declare type CsvExporter<T> = (content: T[]) => Promise<CsvContent>; export declare type BuildCsvExporter = <T>(headerTransformer: () => Header, transformer: (item: T) => Entry) => CsvExporter<T>; export declare const buildCsvExporter: BuildCsvExporter;