[PR #5961] ♻️ (typescript) Convert BudgetCategories to TypeScript #6236

Closed
opened 2026-02-28 21:25:38 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/5961

State: closed
Merged: Yes


Part of #1483

Converted packages/desktop-client/src/components/budget/BudgetCategories.jsx to TypeScript.

Changes

  • Renamed BudgetCategories.jsxBudgetCategories.tsx
  • Added comprehensive type definitions for all props and internal types
  • Added proper typing for drag state, budget items, and callbacks
  • Updated BudgetTable.tsx to properly handle the typed component
  • Fixed callback signatures to match expected types
  • All typecheck and lint checks pass

Testing

  • Type checking passes
  • Linting passes
  • No runtime errors introduced
**Original Pull Request:** https://github.com/actualbudget/actual/pull/5961 **State:** closed **Merged:** Yes --- Part of #1483 Converted `packages/desktop-client/src/components/budget/BudgetCategories.jsx` to TypeScript. ## Changes - Renamed `BudgetCategories.jsx` → `BudgetCategories.tsx` - Added comprehensive type definitions for all props and internal types - Added proper typing for drag state, budget items, and callbacks - Updated `BudgetTable.tsx` to properly handle the typed component - Fixed callback signatures to match expected types - All typecheck and lint checks pass ## Testing - ✅ Type checking passes - ✅ Linting passes - ✅ No runtime errors introduced
GiteaMirror added the pull-request label 2026-02-28 21:25:38 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#6236