DefinitelyTyped/types/stdin/index.d.ts
Gareth Jones 8e8b569b34 [stdin] introduce typings (#36866)
* [stdin] introduce typings

* [stdin] use `any` instead of `unknown`
2019-07-16 15:22:09 -07:00

9 lines
283 B
TypeScript

// Type definitions for stdin 0.0
// Project: https://www.npmjs.com/package/stdin
// Definitions by: Gareth Jones <https://github.com/g-rath>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = stdin;
declare function stdin(fn: (str: string) => any): void;