DefinitelyTyped/node
Bobby Powers b34953791c node: WritableStream.write() should use a union for Buffer|string
I'm converting a node program I originally wrote in JS to TS, and
without this, the following pattern causes tsc to error out (tested
under 1.6):

```
let buf = current.read(); // current is a ReadableStream
if (buf !== null)
    output.write(buf);
```

With:

```
src/bin/cat.ts(28,17): error TS2345: Argument of type 'string | Buffer' is not assignable to parameter of type 'string'.
```
2015-09-25 16:08:16 -04:00
..
node-0.8.8.d.ts node: Added stack to NodeJS.ErrnoException 2015-07-01 16:10:11 -04:00
node-0.8.8.d.ts.tscparams Remove quotes from response files 2014-09-02 14:53:39 -07:00
node-0.10.d.ts added missing 'bytesWritten' field to fs.WriteStream 2015-07-07 13:19:10 +01:00
node-0.11-tests.ts Update node's ReadLine.setPrompt to match new API 2015-08-08 12:54:49 -06:00
node-0.11.d.ts Signer is writable stream in crypto 2015-08-27 22:43:14 +02:00
node-tests.ts Add more fs.write interfaces. 2015-09-09 13:15:35 +03:00
node.d.ts node: WritableStream.write() should use a union for Buffer|string 2015-09-25 16:08:16 -04:00