Improve AppConfigSchema type

This commit is contained in:
Alex Gleason committed 2025-07-05 17:50:21 -05:00
1 parent 65b974fb41
commit a2eab78ae3
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ interface AppProviderProps {
}
// Zod schema for AppConfig validation
const AppConfigSchema: z.ZodType<AppConfig> = z.object({
const AppConfigSchema: z.ZodType<AppConfig, z.ZodTypeDef, unknown> = z.object({
theme: z.enum(['dark', 'light', 'system']),
relayUrl: z.string().url(),
});