mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Changed type declaration with export =
This commit is contained in:
parent
8b924635ad
commit
113dbb1b3d
5
types/save-csv/index.d.ts
vendored
5
types/save-csv/index.d.ts
vendored
@ -4,7 +4,7 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 3.1
|
||||
|
||||
export interface SaveCsvProps {
|
||||
interface SaveCsvProps {
|
||||
filename: string;
|
||||
sep?: string;
|
||||
eol?: string;
|
||||
@ -14,4 +14,5 @@ export interface SaveCsvProps {
|
||||
formatter?: (value: string | JSON) => void;
|
||||
}
|
||||
|
||||
export default function saveCsv(array: ReadonlyArray<any>, options?: SaveCsvProps): void;
|
||||
declare function saveCsv(array: ReadonlyArray<any>, options?: SaveCsvProps): void;
|
||||
export = saveCsv;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user