From ff6a2046861cf61650295a0fcda236bbd468a323 Mon Sep 17 00:00:00 2001 From: ChristoferMendes Date: Fri, 10 May 2024 12:17:53 -0300 Subject: [PATCH] feat: Add getMagnetData function to global declaration --- src/renderer/src/declaration.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/src/declaration.d.ts b/src/renderer/src/declaration.d.ts index c20afe66..4ab50624 100644 --- a/src/renderer/src/declaration.d.ts +++ b/src/renderer/src/declaration.d.ts @@ -88,6 +88,7 @@ declare global { options: Electron.OpenDialogOptions ) => Promise; platform: NodeJS.Platform; + getMagnetData: (magnet: string) => Promise<{ seeders: number; peers: number }>; } interface Window {