mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-06 20:46:50 +08:00
amend comment for Stringifier.write
Change comment on `Stringifier.write` to reflect that argument is of type `string[] | Object`
This commit is contained in:
2
csv-stringify/csv-stringify.d.ts
vendored
2
csv-stringify/csv-stringify.d.ts
vendored
@@ -58,7 +58,7 @@ declare module "csv-stringify" {
|
||||
|
||||
interface Stringifier extends NodeJS.ReadWriteStream {
|
||||
|
||||
// Stringifier stream takes array of strings
|
||||
// Stringifier stream takes array of strings or Object
|
||||
write(line: string[] | Object): boolean;
|
||||
|
||||
// repeat declarations from NodeJS.WritableStream to avoid compile error
|
||||
|
||||
Reference in New Issue
Block a user