mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
19 lines
541 B
TypeScript
19 lines
541 B
TypeScript
// Type definitions for save-csv 4.1
|
|
// Project: https://github.com/silverwind/save-csv
|
|
// Definitions by: Frank Brullo <https://github.com/FrankBrullo>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 3.1
|
|
|
|
interface SaveCsvProps {
|
|
filename: string;
|
|
sep?: string;
|
|
eol?: string;
|
|
quote?: string;
|
|
bom?: boolean;
|
|
mime?: string;
|
|
formatter?: (value: string | JSON) => void;
|
|
}
|
|
|
|
declare function saveCsv(array: ReadonlyArray<any>, options?: SaveCsvProps): void;
|
|
export = saveCsv;
|