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:
Julian Dominguez-Schatz
2024-08-14 13:28:09 -04:00
committed by GitHub
parent 63ad6dadf2
commit d9066a49c4
10 changed files with 53 additions and 42 deletions

View File

@@ -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) {