@types/read
TypeScript icon, indicating that this package has built-in type declarations

0.0.32 • Public • Published

Installation

npm install --save @types/read

Summary

This package contains type definitions for read (https://github.com/isaacs/read).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/read.

index.d.ts

declare function Read(options: Read.Options, callback: (error: any, result: string, isDefault: boolean) => any): void;

declare namespace Read {
    interface Options {
        prompt?: string | undefined;
        silent?: boolean | undefined;
        replace?: string | undefined;
        timeout?: number | undefined;
        default?: string | undefined;
        edit?: boolean | undefined;
        terminal?: boolean | undefined;
        input?: any;
        output?: any;
    }
}

export = Read;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Tim JK.

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @types/read

Weekly Downloads

5,442

Version

0.0.32

License

MIT

Unpacked Size

3.47 kB

Total Files

5

Last publish

Collaborators

  • types