diff --git a/types/muibox/index.d.ts b/types/muibox/index.d.ts index fc73983d6b..b7c96bc408 100644 --- a/types/muibox/index.d.ts +++ b/types/muibox/index.d.ts @@ -36,4 +36,5 @@ export interface ConfirmOptions extends AlertOptions { export interface PromptOptions extends ConfirmOptions { required?: boolean; defaultValue?: string | number; + placeholder?: string; } diff --git a/types/muibox/muibox-tests.ts b/types/muibox/muibox-tests.ts index 70254edb5a..b5bc22e579 100644 --- a/types/muibox/muibox-tests.ts +++ b/types/muibox/muibox-tests.ts @@ -31,6 +31,7 @@ dialog .prompt({ message: "What is your name?", title: "Salutation", + placeholder: "Name", ok: { text: "Proceed" }, cancel: { text: "Quit" }, defaultValue: "Joe",