Estate: lint and type fixes in the new files

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-31 17:10:41 +01:00
commit 4d0ee78974
2 changed files with 2 additions and 3 deletions

View file

@ -18,8 +18,7 @@ const recordingClient = (joinRoom = vi.fn().mockResolvedValue({ roomId: '!r:game
return joinRoom(...args);
};
}
return (...args: unknown[]) => {
void args;
return () => {
calls.push(prop);
throw new Error(`unexpected client call: ${prop}`);
};

View file

@ -104,7 +104,7 @@ export const useEstate = (rootId: string): Estate => {
});
return buildEstate({
rootId,
hierarchy: Array.from(rooms.values()) as EstateHierarchyRoom[],
hierarchy: Array.from(rooms.values()) as unknown as EstateHierarchyRoom[],
stewardships,
membership,
directRoomIds: Array.from(mDirects).filter((id) => joined.includes(id)),