Files
actual/packages/api
github-actions[bot] 9ea4021516 [AI] fix CI: align jsdom version + add absurd-sql type shim
- `yarn constraints` flagged jsdom ^29.0.2 in api vs ^27.4.0 in
  desktop-client. Align to ^27.4.0 — api's browser-facade test only
  uses a minimal jsdom env, both versions satisfy its needs.
- `yarn typecheck` under tsc-strict needed a declaration for
  absurd-sql/dist/indexeddb-main-thread; added a one-line .d.ts-style
  shim under packages/loot-core/typings/, matching the existing
  pattern used for vite-plugin-peggy-loader.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 16:52:25 +01:00
..

npm install @actual-app/api

View docs here: https://actualbudget.org/docs/api/

TypeScript

@actual-app/api publishes TypeScript declarations. Consumers using TypeScript must set moduleResolution to "bundler", "nodenext", or "node16" in their tsconfig.json. Legacy "node" / "node10" / "classic" resolution is not supported in strict mode — the published declarations rely on package.json exports conditions that older resolvers don't honor.