mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-22 20:37:58 +08:00
* Added declarations for 'get-stdin'. * Moved 'types' dependency on 'node to a triple-slash ref comment. * Added linting for 'get-stdin'.
14 lines
413 B
TypeScript
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;
|