diff --git a/heat-stack/app/utils/misc.tsx b/heat-stack/app/utils/misc.tsx index 57832f6c..d0b6f320 100644 --- a/heat-stack/app/utils/misc.tsx +++ b/heat-stack/app/utils/misc.tsx @@ -272,7 +272,7 @@ export function useDebounce< ) } -export async function downloadFile(url: string, retries: number = 0) { +export async function downloadFile(url: string, retries: number = 0): Promise { const MAX_RETRIES = 3 try { const response = await fetch(url)