Remove unused param
This commit is contained in:
parent
ce869be158
commit
36f9ca2004
2 changed files with 1 additions and 5 deletions
|
@ -148,7 +148,6 @@ class DownloadManagerImpl {
|
|||
}
|
||||
const cacheResp: Response = await this.diskFileCache?.match(
|
||||
file.id.toString(),
|
||||
{ sizeInBytes: file.info?.fileSize },
|
||||
);
|
||||
return cacheResp?.clone();
|
||||
} catch (e) {
|
||||
|
|
|
@ -9,10 +9,7 @@ const cacheNames = [
|
|||
export type CacheName = (typeof cacheNames)[number];
|
||||
|
||||
export interface LimitedCache {
|
||||
match: (
|
||||
key: string,
|
||||
options?: { sizeInBytes?: number },
|
||||
) => Promise<Response>;
|
||||
match: (key: string) => Promise<Response>;
|
||||
put: (key: string, data: Response) => Promise<void>;
|
||||
delete: (key: string) => Promise<boolean>;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue