From 5644149105c1bc891f06db26e0c213d53dd3e59e Mon Sep 17 00:00:00 2001 From: David D Date: Mon, 6 Jul 2020 08:48:45 +0200 Subject: [PATCH] [muibox] "placeholder" property (#45232) * Update index.d.ts * Update muibox-tests.ts --- types/muibox/index.d.ts | 1 + types/muibox/muibox-tests.ts | 1 + 2 files changed, 2 insertions(+) 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",