Type alias TextInputHandler

TextInputHandler: ((initialInput: string) => Promise<string>)

Type declaration

    • (initialInput: string): Promise<string>
    • A function which prompts the user for input given an already set input and returns a promise containing the text typed by the user.

      Parameters

      • initialInput: string

      Returns Promise<string>

Generated using TypeDoc