[PR #5802] chore: re-export helper types in client plugins #14481

Closed
opened 2026-04-13 09:29:49 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5802

State: closed
Merged: Yes


The inferred type of 'authClient' cannot be named without a reference to '../../node_modules/better-auth/dist/helper-BQDBO9v8' (src/types/helper.ts). This is likely not portable. A type annotation is necessary.


Summary by cubic

Re-exported helper types from the client plugins entry to fix the TypeScript error where authClient’s inferred type required a reference to dist/helper. This makes the types portable for consumers with no runtime changes.

Written for commit dc9495f7b7. Summary will update automatically on new commits.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5802 **State:** closed **Merged:** Yes --- `The inferred type of 'authClient' cannot be named without a reference to '../../node_modules/better-auth/dist/helper-BQDBO9v8' (src/types/helper.ts). This is likely not portable. A type annotation is necessary.` <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Re-exported helper types from the client plugins entry to fix the TypeScript error where authClient’s inferred type required a reference to dist/helper. This makes the types portable for consumers with no runtime changes. <sup>Written for commit dc9495f7b7b38d458e20c18250e6cb1ea337fb91. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:29:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14481