mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 03:32:54 -05:00
fix: Update methods to match TypeScript type (#6331)
This commit is contained in:
@@ -97,6 +97,14 @@ class Query {
|
||||
serialize() {
|
||||
return this.state;
|
||||
}
|
||||
|
||||
reset() {
|
||||
return q(this.state.table);
|
||||
}
|
||||
|
||||
serializeAsString() {
|
||||
return JSON.stringify(this.serialize());
|
||||
}
|
||||
}
|
||||
|
||||
export function q(table) {
|
||||
|
||||
6
upcoming-release-notes/6331.md
Normal file
6
upcoming-release-notes/6331.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [BHChen24]
|
||||
---
|
||||
|
||||
Updates the `Query` class in `packages/api/app/query.js` to include the missing `reset()` and `serializeAsString()` methods.
|
||||
Reference in New Issue
Block a user