chore(lint): burn down remaining warnings to zero

This commit is contained in:
William Valentin
2026-02-15 23:14:21 -08:00
parent 49b752e8b0
commit 948d4ac6d8
67 changed files with 235 additions and 256 deletions
+4 -1
View File
@@ -15,7 +15,10 @@ function createMockClient() {
user: null as { id: string; tag: string } | null,
on: vi.fn((event: string, handler: (...args: unknown[]) => void) => {
if (!handlers.has(event)) {handlers.set(event, []);}
handlers.get(event)!.push(handler);
const eventHandlers = handlers.get(event);
if (eventHandlers) {
eventHandlers.push(handler);
}
}),
login: vi.fn(async (_token: string) => {
// Set user info after login