Files
vibe-kanban/frontend/src
Louis Knight-Webb b35708e7b9 ## Batch D Complete (#1313)
Successfully fixed all low-priority `any` types and catch blocks across 7 files:

### Changes Made:

**1. [lib/types.ts](file:///private/var/folders/m1/9q_ct1913z10v6wbnv54j25r0000gn/T/vibe-kanban/worktrees/3da6-batch-d-fix-low/frontend/src/lib/types.ts)**
- Added imports: `NormalizedEntry`, `ExecutionProcessStatus`
- `entry: any` → `entry: NormalizedEntry`
- `process: any` → `process: ExecutionProcess`
- `processStatus: string` → `processStatus: ExecutionProcessStatus`

**2. [lib/modals.ts](file:///private/var/folders/m1/9q_ct1913z10v6wbnv54j25r0000gn/T/vibe-kanban/worktrees/3da6-batch-d-fix-low/frontend/src/lib/modals.ts)**
- Removed `any[]` and `component as any`
- Properly typed function arguments with `ShowArgs<P>`
- Used `React.FC<ComponentProps<P>>` for NiceModal compatibility

**3. [EditBranchNameDialog.tsx](file:///private/var/folders/m1/9q_ct1913z10v6wbnv54j25r0000gn/T/vibe-kanban/worktrees/3da6-batch-d-fix-low/frontend/src/components/dialogs/tasks/EditBranchNameDialog.tsx)**
- `catch (err: any)` → `catch (err: unknown)`
- Used `getErrorMessage(err)` helper

**4. [TagEditDialog.tsx](file:///private/var/folders/m1/9q_ct1913z10v6wbnv54j25r0000gn/T/vibe-kanban/worktrees/3da6-batch-d-fix-low/frontend/src/components/dialogs/tasks/TagEditDialog.tsx)**
- `catch (err: any)` → `catch (err: unknown)`
- Used `getErrorMessage(err)` helper

**5. [GhCliSetupDialog.tsx](file:///private/var/folders/m1/9q_ct1913z10v6wbnv54j25r0000gn/T/vibe-kanban/worktrees/3da6-batch-d-fix-low/frontend/src/components/dialogs/auth/GhCliSetupDialog.tsx)**
- `catch (err: any)` → `catch (err: unknown)`
- Added safe type narrowing with `isGhCliSetupError` guard
- Used `getErrorMessage(err)` helper

**6. [ImageUploadSection.tsx](file:///private/var/folders/m1/9q_ct1913z10v6wbnv54j25r0000gn/T/vibe-kanban/worktrees/3da6-batch-d-fix-low/frontend/src/components/ui/ImageUploadSection.tsx)**
- `catch (error: any)` → `catch (error: unknown)`
- Used `instanceof Error` check

**7. [McpSettings.tsx](file:///private/var/folders/m1/9q_ct1913z10v6wbnv54j25r0000gn/T/vibe-kanban/worktrees/3da6-batch-d-fix-low/frontend/src/pages/settings/McpSettings.tsx)**
- `catch (err: any)` → `catch (err: unknown)`
- `Record<string, any>` → `Record<string, unknown>` for preconfigured/meta/servers
- Added safe narrowing for meta access

All type checks pass ✓
All formatting complete ✓
2025-11-17 22:54:11 +00:00
..
2025-11-17 22:54:11 +00:00
2025-11-17 22:54:11 +00:00
2025-11-17 22:54:11 +00:00
2025-10-16 18:28:56 +01:00
2025-11-14 15:37:56 +00:00
2025-08-27 23:59:26 +01:00
2025-07-04 11:11:45 +02:00