[PR #6331] Fix: Update methods to match TypeScript type for aqlQuery #20811

Closed
opened 2026-04-14 21:45:37 -05:00 by GiteaMirror · 0 comments
Owner

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

State: closed
Merged: Yes


Fixes #6290

Hi actual team,

According to the issue I added two more methods: "reset" and "serializeAsString" to class "Query."

Tested by:

  1. cd to api folder
  2. Create a test file with the code from the issue (maybe need a mock tx object)
  3. Run npx tsc {your test file name}.ts --noEmit --skipLibCheck
  4. Verify no TypeScript errors (previously would fail with "missing properties: reset, serializeAsString")

This is my first time contributing to actual, any feedback or guidance would be greatly appreciated. Thanks!

**Original Pull Request:** https://github.com/actualbudget/actual/pull/6331 **State:** closed **Merged:** Yes --- Fixes #6290 Hi actual team, According to the issue I added two more methods: "reset" and "serializeAsString" to class "Query." Tested by: 1. cd to api folder 2. Create a test file with the code from the issue (maybe need a mock `tx` object) 3. Run `npx tsc {your test file name}.ts --noEmit --skipLibCheck` 4. Verify no TypeScript errors (previously would fail with "missing properties: reset, serializeAsString") This is my first time contributing to actual, any feedback or guidance would be greatly appreciated. Thanks!
GiteaMirror added the pull-request label 2026-04-14 21:45:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#20811