Function: showWarningMessage()
showWarningMessage(
message
, ...items
):Promise
<string
|undefined
>
Show a warning message. Optionally provide an array of items which will be presented as clickable buttons.
Parameters
• message: string
The message to show.
• ...items: string
[]
A set of items that will be rendered as actions in the message.
Returns
Promise
<string
| undefined
>
A promise that resolves to the selected item or undefined
when being dismissed.