DefinitelyTyped/types/get-stdin/index.d.ts
2017-03-24 14:27:52 -07:00

14 lines
406 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 {
function buffer(): Promise<Buffer>;
}
export = getStdin;