DefinitelyTyped/node
Chris Cowan 5b9620556e Fixes for node definitions.
setTimeout, setInterval, setImmediate are fixed to accept more
arguments.

setTimeout, setInterval, clearTimeout, clearInterval are changed to
return and accept objects of the new Timer interface, which exposes the
ref() and unref() methods.

fs.readFileSync is changed so that it returns a string if it is passed
an options parameter with an "encoding" property, and returns a
NodeBuffer otherwise.

fs.watchFile and fs.unwatchFile listener parameters are fixed. listener
is a callback with two parameters, not an object with two properties.

fs.watch is fixed so a listener parameter can be given without an
options parameter.

crypto.randomBytes is fixed so that it can be called synchronously,
returning a NodeBuffer.

crypto.pseudoRandomBytes is added.
2013-11-23 16:31:40 -06:00
..
node-0.8.8.d.ts Buffer.copy() returns the number of bytes copied. 2013-11-03 04:17:31 -05:00
node-0.8.8.d.ts.tscparams Fixed tsc failed on Node.js v0.8.25 2013-10-03 11:23:38 +09:00
node-tests.ts node : readable stream pipe can be piped further closes #1030 2013-09-10 19:32:21 +10:00
node.d.ts Fixes for node definitions. 2013-11-23 16:31:40 -06:00