mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-06 07:01:45 -05:00
- `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>
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.