Primeiro commit do projeto Angular
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
import { ListrPromptAdapter } from "listr2";
|
||||
import { Prompt } from "@inquirer/type";
|
||||
|
||||
//#region src/prompt.d.ts
|
||||
declare class ListrInquirerPromptAdapter extends ListrPromptAdapter {
|
||||
private prompt;
|
||||
private signal;
|
||||
/**
|
||||
* Get the current running instance of `inquirer`.
|
||||
*/
|
||||
get instance(): Promise<any>;
|
||||
/**
|
||||
* Create a new prompt with `inquirer`.
|
||||
*/
|
||||
run<T extends Prompt<any, any> = Prompt<any, any>>(prompt: T, ...[config, context]: Parameters<T>): Promise<ReturnType<T>>;
|
||||
/**
|
||||
* Cancel the ongoing prompt.
|
||||
*/
|
||||
cancel(): void;
|
||||
}
|
||||
//#endregion
|
||||
export { ListrInquirerPromptAdapter };
|
||||
Reference in New Issue
Block a user