We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e47ea7d commit 9efae1cCopy full SHA for 9efae1c
src/Message Dialogs/main.ts
@@ -57,7 +57,8 @@ async function createAdvancedDialog() {
57
58
dialog.set_extra_child(entry);
59
60
- const response = await dialog.choose(workbench.window, null);
+ // @ts-expect-error this function is not detected as async
61
+ const response = await dialog.choose(workbench.window, null) as string;
62
if (response === "login") {
63
console.log(
64
`Selected "${response}" response with password "${entry.get_text()}"`,
0 commit comments