[PR #4147] [MERGED] Fix send types in a number of places (2/2) #5213

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

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4147
Author: @jfdoming
Created: 1/14/2025
Status: Merged
Merged: 1/20/2025
Merged by: @jfdoming

Base: masterHead: jfdoming/fix-send-types-2


📝 Commits (3)

📊 Changes

17 files changed (+77 additions, -42 deletions)

View changed files

📝 packages/desktop-client/src/components/accounts/Account.tsx (+12 -4)
📝 packages/desktop-client/src/components/modals/EditUser.tsx (+4 -4)
📝 packages/desktop-client/src/components/reports/Overview.tsx (+1 -1)
📝 packages/desktop-client/src/components/select/RecurringSchedulePicker.tsx (+8 -2)
📝 packages/loot-core/src/client/actions/budgets.ts (+2 -5)
📝 packages/loot-core/src/client/actions/prefs.ts (+1 -1)
📝 packages/loot-core/src/client/data-hooks/transactions.ts (+1 -1)
📝 packages/loot-core/src/client/query-helpers.ts (+2 -2)
📝 packages/loot-core/src/platform/client/fetch/index.d.ts (+2 -1)
📝 packages/loot-core/src/server/admin/types/handlers.ts (+5 -3)
📝 packages/loot-core/src/server/aql/compiler.ts (+2 -3)
📝 packages/loot-core/src/server/rules/types/handlers.ts (+4 -4)
📝 packages/loot-core/src/server/schedules/app.ts (+2 -0)
📝 packages/loot-core/src/server/schedules/types/handlers.ts (+9 -5)
📝 packages/loot-core/src/types/models/simplefin.d.ts (+2 -0)
📝 packages/loot-core/src/types/server-handlers.d.ts (+14 -6)
upcoming-release-notes/4147.md (+6 -0)

📄 Description

In https://github.com/actualbudget/actual/pull/4145 I'm attempting to remove any types from the send function. In doing so I uncovered a bunch of places where types were set incorrectly. This PR cleans up those types (split into 2 for readability).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/4147 **Author:** [@jfdoming](https://github.com/jfdoming) **Created:** 1/14/2025 **Status:** ✅ Merged **Merged:** 1/20/2025 **Merged by:** [@jfdoming](https://github.com/jfdoming) **Base:** `master` ← **Head:** `jfdoming/fix-send-types-2` --- ### 📝 Commits (3) - [`945bff3`](https://github.com/actualbudget/actual/commit/945bff346a0b51364f6f77e90aa3660988cea238) Fix `send` types in a number of places - [`c84628a`](https://github.com/actualbudget/actual/commit/c84628ae3b43165ad088d7c48b7a9b205a9904af) Add release notes - [`6b43e75`](https://github.com/actualbudget/actual/commit/6b43e75619027698091af7207ed2c9ce358dfdf9) PR feedback ### 📊 Changes **17 files changed** (+77 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/accounts/Account.tsx` (+12 -4) 📝 `packages/desktop-client/src/components/modals/EditUser.tsx` (+4 -4) 📝 `packages/desktop-client/src/components/reports/Overview.tsx` (+1 -1) 📝 `packages/desktop-client/src/components/select/RecurringSchedulePicker.tsx` (+8 -2) 📝 `packages/loot-core/src/client/actions/budgets.ts` (+2 -5) 📝 `packages/loot-core/src/client/actions/prefs.ts` (+1 -1) 📝 `packages/loot-core/src/client/data-hooks/transactions.ts` (+1 -1) 📝 `packages/loot-core/src/client/query-helpers.ts` (+2 -2) 📝 `packages/loot-core/src/platform/client/fetch/index.d.ts` (+2 -1) 📝 `packages/loot-core/src/server/admin/types/handlers.ts` (+5 -3) 📝 `packages/loot-core/src/server/aql/compiler.ts` (+2 -3) 📝 `packages/loot-core/src/server/rules/types/handlers.ts` (+4 -4) 📝 `packages/loot-core/src/server/schedules/app.ts` (+2 -0) 📝 `packages/loot-core/src/server/schedules/types/handlers.ts` (+9 -5) 📝 `packages/loot-core/src/types/models/simplefin.d.ts` (+2 -0) 📝 `packages/loot-core/src/types/server-handlers.d.ts` (+14 -6) ➕ `upcoming-release-notes/4147.md` (+6 -0) </details> ### 📄 Description In https://github.com/actualbudget/actual/pull/4145 I'm attempting to remove `any` types from the `send` function. In doing so I uncovered a bunch of places where types were set incorrectly. This PR cleans up those types (split into 2 for readability). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:08:14 -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#5213