first commit
This commit is contained in:
17
node_modules/@inquirer/editor/dist/commonjs/index.d.ts
generated
vendored
Normal file
17
node_modules/@inquirer/editor/dist/commonjs/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { IFileOptions } from '@inquirer/external-editor';
|
||||
import { type Theme } from '@inquirer/core';
|
||||
import type { PartialDeep } from '@inquirer/type';
|
||||
type EditorTheme = {
|
||||
validationFailureMode: 'keep' | 'clear';
|
||||
};
|
||||
type EditorConfig = {
|
||||
message: string;
|
||||
default?: string;
|
||||
postfix?: string;
|
||||
waitForUseInput?: boolean;
|
||||
validate?: (value: string) => boolean | string | Promise<string | boolean>;
|
||||
file?: IFileOptions;
|
||||
theme?: PartialDeep<Theme<EditorTheme>>;
|
||||
};
|
||||
declare const _default: import("@inquirer/type").Prompt<string, EditorConfig>;
|
||||
export default _default;
|
||||
Reference in New Issue
Block a user