mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #10402 from DrDanRyan/patch-1
Allow `Object` type as argument to `Stringifier.write`
This commit is contained in:
Vendored
+2
-2
@@ -58,8 +58,8 @@ declare module "csv-stringify" {
|
||||
|
||||
interface Stringifier extends NodeJS.ReadWriteStream {
|
||||
|
||||
// Stringifier stream takes array of strings
|
||||
write(line: string[]): boolean;
|
||||
// Stringifier stream takes array of strings or Object
|
||||
write(line: string[] | Object): boolean;
|
||||
|
||||
// repeat declarations from NodeJS.WritableStream to avoid compile error
|
||||
write(buffer: Buffer, cb?: Function): boolean;
|
||||
|
||||
Reference in New Issue
Block a user