feat: continue Priority 1 any type fixes
- Fix remaining any types in electron test app (9 types)
- Fix remaining any types in shared config loader (11 types)
- Fix remaining any types in core plugin files (4 types)
- Fix remaining any types in polling contracts (8 types)
- Enhanced type safety across all test apps and core modules
Linting status: ✅ 0 errors, 292 warnings (down from 436 warnings)
Priority 1 progress: 144 warnings fixed (33% reduction)
Any types remaining: 76 (down from 113, 37% reduction)
This commit is contained in:
@@ -24,7 +24,7 @@ export const PlanSummarySchema = z.object({
|
||||
export const PreviousClaimSchema = z.object({
|
||||
jwtId: z.string().regex(JWT_ID_PATTERN),
|
||||
claimType: z.string(),
|
||||
claimData: z.record(z.any()),
|
||||
claimData: z.record(z.unknown()),
|
||||
metadata: z.object({
|
||||
createdAt: z.string().datetime(),
|
||||
updatedAt: z.string().datetime()
|
||||
@@ -68,7 +68,7 @@ export const ErrorResponseSchema = z.object({
|
||||
error: z.string(),
|
||||
code: z.string().optional(),
|
||||
message: z.string(),
|
||||
details: z.record(z.any()).optional(),
|
||||
details: z.record(z.unknown()).optional(),
|
||||
retryAfter: z.number().optional(),
|
||||
requestId: z.string().optional()
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user