WIP! A BB-style forum, on the ATmosphere! We're still working... we'll be back soon when we have something to show off!
node typescript hono htmx atproto

fix: use Array<T> syntax instead of T[] for complex object types

Per TypeScript house style, complex object array types should use
Array<{ uri: string }> syntax instead of { uri: string }[].

File: apps/web/src/lib/theme-resolution.ts, line 78
Function: resolveUserThemePreference()

+1 -1
+1 -1
apps/web/src/lib/theme-resolution.ts
··· 75 75 export function resolveUserThemePreference( 76 76 cookieHeader: string | undefined, 77 77 colorScheme: "light" | "dark", 78 - availableThemes: { uri: string }[], 78 + availableThemes: Array<{ uri: string }>, 79 79 allowUserChoice: boolean 80 80 ): string | null { 81 81 if (!allowUserChoice) return null;