From 171ba52b7fadaf2e6f0cf4af4f432e14cc1c8158 Mon Sep 17 00:00:00 2001 From: Cedric Halbronn Date: Thu, 18 Apr 2024 14:53:12 +0100 Subject: [PATCH] async getFocusedElementType --- src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index 693174f..a022648 100755 --- a/src/extension.ts +++ b/src/extension.ts @@ -29,7 +29,7 @@ export async function activate(context: vscode.ExtensionContext) { /** * The type of the focused element in vscode at the moment of the command being executed. */ - getFocusedElementType: () => focusedElementType, + getFocusedElementType: async () => focusedElementType, /** * These signals can be used as a form of IPC to indicate that an event has