From ae156e77e040260587bf2cf950baf39c53b9e700 Mon Sep 17 00:00:00 2001 From: Pablo Singer Date: Fri, 23 Apr 2021 02:39:18 +0200 Subject: [PATCH] fix(api): wrong window.setIcon argument type (#1591) --- tooling/api/src/window.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling/api/src/window.ts b/tooling/api/src/window.ts index c27fda515..e4b47b39c 100644 --- a/tooling/api/src/window.ts +++ b/tooling/api/src/window.ts @@ -463,7 +463,7 @@ export class WindowManager { * @param icon Icon bytes or path to the icon file * @returns */ - async setIcon(icon: 'string' | number[]): Promise { + async setIcon(icon: string | number[]): Promise { return invokeTauriCommand({ __tauriModule: 'Window', message: {