mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-21 12:30:15 +08:00
added defs for some (stream) utils
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
/// <reference path="./readdir-stream.d.ts" />
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
import readdir = require('readdir-stream');
|
||||
|
||||
var rs: NodeJS.ReadableStream;
|
||||
|
||||
rs = readdir('foo');
|
||||
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
// Type definitions for readdir-stream v0.1.0
|
||||
// Project: https://github.com/logicalparadox/readdir-stream
|
||||
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
declare module 'readdir-stream' {
|
||||
function readdir(dir: string): NodeJS.ReadableStream;
|
||||
export = readdir;
|
||||
}
|
||||
Reference in New Issue
Block a user