From 113dbb1b3de00a8d02c4d18ef84ac4d1c8b5ca28 Mon Sep 17 00:00:00 2001 From: Frank Brullo Date: Wed, 10 Apr 2019 14:29:38 -0400 Subject: [PATCH] Changed type declaration with export = --- types/save-csv/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/save-csv/index.d.ts b/types/save-csv/index.d.ts index 3e28c3ea0f..4b438fe9b7 100644 --- a/types/save-csv/index.d.ts +++ b/types/save-csv/index.d.ts @@ -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, options?: SaveCsvProps): void; +declare function saveCsv(array: ReadonlyArray, options?: SaveCsvProps): void; +export = saveCsv;