mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
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. |
||
|---|---|---|
| .. | ||
| node-0.8.8.d.ts | ||
| node-0.8.8.d.ts.tscparams | ||
| node-tests.ts | ||
| node.d.ts | ||