Help tsc
This commit is contained in:
parent
34c30e4520
commit
fa8f229fcb
1 changed files with 2 additions and 2 deletions
|
@ -183,9 +183,9 @@ const getEncryptedCollectionFiles = async (
|
|||
},
|
||||
);
|
||||
const diff = resp.data.diff;
|
||||
files = files.concat(diff.filter((file) => !file.isDeleted));
|
||||
files = files.concat(diff.filter((file: EnteFile) => !file.isDeleted));
|
||||
sinceTime = diff.reduce(
|
||||
(max, file) => Math.max(max, file.updationTime),
|
||||
(max: number, file: EnteFile) => Math.max(max, file.updationTime),
|
||||
sinceTime,
|
||||
);
|
||||
} while (resp.data.hasMore);
|
||||
|
|
Loading…
Reference in a new issue