From 306598ef71583f9e4225ebb0237a013b9e9c4f42 Mon Sep 17 00:00:00 2001 From: Santo Pfingsten Date: Mon, 17 Jun 2024 21:54:24 +0200 Subject: [PATCH] fix for theme.getCurrent --- fixes/theme.json | 2 +- out/namespaces/theme.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fixes/theme.json b/fixes/theme.json index d2d733e..20d3671 100644 --- a/fixes/theme.json +++ b/fixes/theme.json @@ -1,5 +1,5 @@ { - "functions.%getCurrent.!fixAsync": "theme:any", + "functions.%getCurrent.!fixAsync": "theme:Manifest.ThemeType", "functions.%update.!fixAsync": null, "functions.%reset.!fixAsync": null } diff --git a/out/namespaces/theme.d.ts b/out/namespaces/theme.d.ts index 5f4022b..e85d61e 100644 --- a/out/namespaces/theme.d.ts +++ b/out/namespaces/theme.d.ts @@ -40,7 +40,7 @@ export namespace Theme { * * @param windowId Optional. The window for which we want the theme. */ - getCurrent(windowId?: number): Promise; + getCurrent(windowId?: number): Promise; /** * Make complete updates to the theme. Resolves when the update has completed.