mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-13 11:42:10 +00:00
feat: Add getMagnetData function to global declaration
This commit is contained in:
parent
92f35bad9f
commit
ff6a204686
1 changed files with 1 additions and 0 deletions
1
src/renderer/src/declaration.d.ts
vendored
1
src/renderer/src/declaration.d.ts
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue