From 2048173f91c819ac4d2fad4af1982e5f7f1f5e27 Mon Sep 17 00:00:00 2001 From: Ethan Arrowood Date: Wed, 12 Feb 2020 11:23:35 -0500 Subject: [PATCH] Make the `Row` TypeScript return type generic (#9) --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index ea4192a..e321b07 100644 --- a/index.d.ts +++ b/index.d.ts @@ -30,9 +30,9 @@ const csv = 'type,part\nunicorn,horn\nrainbow,pink'; })(); ``` */ -declare function neatCsv( +declare function neatCsv( data: string | Buffer | ReadableStream, options?: neatCsv.Options -): Promise; +): Promise; export = neatCsv;