feat: Add getMagnetData function to global declaration

This commit is contained in:
ChristoferMendes 2024-05-10 12:17:53 -03:00
parent 92f35bad9f
commit ff6a204686

View file

@ -88,6 +88,7 @@ declare global {
options: Electron.OpenDialogOptions
) => Promise<Electron.OpenDialogReturnValue>;
platform: NodeJS.Platform;
getMagnetData: (magnet: string) => Promise<{ seeders: number; peers: number }>;
}
interface Window {