Newbie Paintball Master

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

    0.0.29 • 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

    // 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.

    Keywords

    none

    Install

    npm i @types/read

    DownloadsWeekly Downloads

    13,938

    Version

    0.0.29

    License

    MIT

    Unpacked Size

    3.88 kB

    Total Files

    4

    Last publish

    Collaborators

    • types