Skip to content

Commit

Permalink
fix for theme.getCurrent
Browse files Browse the repository at this point in the history
  • Loading branch information
Lusito committed Jun 17, 2024
1 parent 440a752 commit 306598e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fixes/theme.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"functions.%getCurrent.!fixAsync": "theme:any",
"functions.%getCurrent.!fixAsync": "theme:Manifest.ThemeType",
"functions.%update.!fixAsync": null,
"functions.%reset.!fixAsync": null
}
2 changes: 1 addition & 1 deletion out/namespaces/theme.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export namespace Theme {
*
* @param windowId Optional. The window for which we want the theme.
*/
getCurrent(windowId?: number): Promise<unknown>;
getCurrent(windowId?: number): Promise<Manifest.ThemeType>;

/**
* Make complete updates to the theme. Resolves when the update has completed.
Expand Down

0 comments on commit 306598e

Please sign in to comment.