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.