0.0.32 • Published 6 months ago

@types/read v0.0.32

Weekly downloads
22,841
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for read
// Project: https://github.com/isaacs/read
// Definitions by: Tim JK <https://github.com/timjk>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped


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: Thu, 08 Jul 2021 22:41:46 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Tim JK.