Skip to main content

Function: showInformationMessage()

showInformationMessage(message, ...items): Promise<string | undefined>

Show an information 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.

Defined in

packages/extension-api/src/extension-api.d.ts:2119