Skip to content

Commit bfebff2

Browse files
fix(server): type the hidden-edit check's file lists
AI-assisted; verified with the tests and tools listed above. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent d1151f0 commit bfebff2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/server/src/storageCleanup.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -703,9 +703,9 @@ const make = Effect.gen(function* () {
703703
},
704704
{ concurrency: 16 },
705705
);
706-
const files = [];
706+
const files: Array<{ readonly id: string; readonly file: string }> = [];
707707
// Without core.symlinks a tracked link is a regular file holding its target, compared unfiltered.
708-
const linkFiles = [];
708+
const linkFiles: typeof files = [];
709709
for (const entry of onDisk) {
710710
if (entry === null) continue;
711711
if (entry.type === "File") (entry.mode === "120000" ? linkFiles : files).push(entry);

0 commit comments

Comments
 (0)