mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-25 05:35:55 +08:00
Merge remote-tracking branch 'upstream/master' into minestarks-types2.0
This commit is contained in:
4
csv-stringify/index.d.ts
vendored
4
csv-stringify/index.d.ts
vendored
@@ -58,8 +58,8 @@ declare namespace 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