From fbae2864b2f99f86b15f5ed802bcc00718138c0b Mon Sep 17 00:00:00 2001 From: fofolee Date: Fri, 1 Mar 2024 09:30:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/monaco/types/quickcommand.api.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/monaco/types/quickcommand.api.d.ts b/src/plugins/monaco/types/quickcommand.api.d.ts index 6aa1876..b0ab4a7 100644 --- a/src/plugins/monaco/types/quickcommand.api.d.ts +++ b/src/plugins/monaco/types/quickcommand.api.d.ts @@ -157,11 +157,13 @@ interface quickcommandApi { * @param message 提示的内容 * @param title 提示的标题 * @param html 内容是支持html,默认 false + * @param width 确认框宽度,默认 450 */ showConfirmBox( message?: string, title?: string, - isHtml?: boolean + isHtml?: boolean, + width?: number ): Promise; /**