mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +08:00
added defs for some (stream) utils
This commit is contained in:
1 parent
568cb00761
commit
cc82b36997
10 files changed
+163
No files matched your search
@@ -0,0 +1,10 @@
|
||||
/// <reference path="./stream-to-array.d.ts" />
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
import toArray = require('stream-to-array');
|
||||
|
||||
var rs: NodeJS.ReadableStream;
|
||||
|
||||
toArray(rs, (err, arr) => {
|
||||
|
||||
});
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
declare module 'stream-to-array' {
|
||||
function toArray(stream: NodeJS.ReadableStream, callback: (err: any, arr: any[]) => void): NodeJS.ReadWriteStream;
|
||||
export = toArray;
|
||||
}
|
||||
Reference in new issue
Block a user