Files
DefinitelyTyped/get-stdin/index.d.ts
Daniel Rosenwasser e31cdc7baa Added declarations for 'get-stdin'. (#13128)
* Added declarations for 'get-stdin'.

* Moved 'types' dependency on 'node to a triple-slash ref comment.

* Added linting for 'get-stdin'.
2016-12-07 11:23:24 -08:00

14 lines
413 B
TypeScript

// Type definitions for get-stdin 5.0
// Project: https://github.com/sindresorhus/get-stdin
// Definitions by: Daniel Rosenwasser <https://github.com/DanielRosenwasser>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
declare function getStdin(): Promise<string>;
declare namespace getStdin {
export function buffer(): Promise<Buffer>;
}
export = getStdin;