mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-31 10:44:33 +00:00
Changed type declaration with export =
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user