mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-29 19:14:22 -05:00
Remove some any types from the API (#3238)
* Remove some `any` types from the API * Add release notes * No backwards-incompatible changes * Update tests to reflect API changes * PR feedback: standardize on id for deletes * PR feedback: restore partial updates
This commit is contained in:
committed by
GitHub
parent
63ad6dadf2
commit
d9066a49c4
@@ -205,8 +205,8 @@ export function updateRule(rule) {
|
||||
return send('api/rule-update', { rule });
|
||||
}
|
||||
|
||||
export function deleteRule(id) {
|
||||
return send('api/rule-delete', { id });
|
||||
export function deleteRule(id: string) {
|
||||
return send('api/rule-delete', id);
|
||||
}
|
||||
|
||||
export function holdBudgetForNextMonth(month, amount) {
|
||||
|
||||
Reference in New Issue
Block a user