diff --git a/hooks/useDownloadBlob/index.d.ts b/hooks/useDownloadBlob/index.d.ts index 056ef8d..41e1259 100644 --- a/hooks/useDownloadBlob/index.d.ts +++ b/hooks/useDownloadBlob/index.d.ts @@ -7,7 +7,7 @@ interface UseDownloadBlobOptions { params?: Record; } -export type DownloadBlobFunction = (url: string, options: UseDownloadBlobOptions) => Promise; +export type DownloadBlobFunction = (url: string, options?: UseDownloadBlobOptions) => Promise; /** * 下载Blob流文件