优化useDownloadBlob类型

master
LiuJiaNan 2025-11-28 16:45:21 +08:00
parent e387ca5d51
commit 83c2cd7910
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ interface UseDownloadBlobOptions {
params?: Record<string, any>;
}
export type DownloadBlobFunction = (url: string, options: UseDownloadBlobOptions) => Promise<any>;
export type DownloadBlobFunction = (url: string, options?: UseDownloadBlobOptions) => Promise<any>;
/**
* Blob