From c04ae52680a5293a46d506517b12cf4fc3d6909c Mon Sep 17 00:00:00 2001 From: Balaji Vijayakumar Date: Wed, 2 Nov 2022 19:18:55 +0530 Subject: refactor: migrate recipe.js to typescript --- src/webview/lib/RecipeWebview.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webview/lib') diff --git a/src/webview/lib/RecipeWebview.ts b/src/webview/lib/RecipeWebview.ts index a896f1b6e..20be3f866 100644 --- a/src/webview/lib/RecipeWebview.ts +++ b/src/webview/lib/RecipeWebview.ts @@ -39,7 +39,7 @@ class RecipeWebview { loopFunc = () => null; - darkModeHandler = false; + darkModeHandler: ((darkMode: boolean, config: any) => void) | null = null; // TODO Remove this once we implement a proper wrapper. get ipcRenderer() { -- cgit v1.2.3-54-g00ecf