[PR #2559] Ensure api types are included in the npm package #4368

Closed
opened 2026-02-28 20:54:56 -06:00 by GiteaMirror · 0 comments
Owner

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

State: closed
Merged: Yes


Starting fresh with a TypeScript project results in error TS7016: Could not find a declaration file for module '@actual-app/api', but the types are in fact generated during build/release. The @types directory feels unintentionally excluded from the package.

It is worth noting that the @types directory has a bit of noise to it, but on balance having types feels more beneficial.

**Original Pull Request:** https://github.com/actualbudget/actual/pull/2559 **State:** closed **Merged:** Yes --- Starting fresh with a TypeScript project results in `error TS7016: Could not find a declaration file for module '@actual-app/api'`, but the types are in fact generated during build/release. The `@types` directory feels unintentionally excluded from the package. It is worth noting that the `@types` directory has a bit of noise to it, but on balance having types feels more beneficial.
GiteaMirror added the pull-request label 2026-02-28 20:54:56 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#4368