[PR #7661] [MERGED] fix(anonymous): export types #24375

Closed
opened 2026-04-15 22:20:25 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7661
Author: @CalLavicka
Created: 1/28/2026
Status: Merged
Merged: 1/28/2026
Merged by: @himself65

Base: canaryHead: fix/anonymous-types


📝 Commits (2)

📊 Changes

2 files changed (+4 additions, -0 deletions)

View changed files

📝 e2e/smoke/test/fixtures/tsconfig-declaration/src/demo.ts (+2 -0)
📝 packages/better-auth/src/plugins/anonymous/index.ts (+2 -0)

📄 Description

Fixes an issue with "This is likely not portable" when using the anonymous plugin with "declaration": true


Summary by cubic

Exports the anonymous plugin's types from the package entry. This fixes TypeScript declaration builds and removes the "This is likely not portable" warning when declaration: true is enabled.

Written for commit 1138adac2c. Summary will update on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/7661 **Author:** [@CalLavicka](https://github.com/CalLavicka) **Created:** 1/28/2026 **Status:** ✅ Merged **Merged:** 1/28/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `fix/anonymous-types` --- ### 📝 Commits (2) - [`d11eb5c`](https://github.com/better-auth/better-auth/commit/d11eb5c689b166200e8ec36afc5f7b451925fc39) fix(anonymous): export types - [`1138ada`](https://github.com/better-auth/better-auth/commit/1138adac2cb2c697d15d3601d9cb29253fbf8643) test: update ### 📊 Changes **2 files changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `e2e/smoke/test/fixtures/tsconfig-declaration/src/demo.ts` (+2 -0) 📝 `packages/better-auth/src/plugins/anonymous/index.ts` (+2 -0) </details> ### 📄 Description Fixes an issue with "This is likely not portable" when using the anonymous plugin with `"declaration": true` <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Exports the anonymous plugin's types from the package entry. This fixes TypeScript declaration builds and removes the "This is likely not portable" warning when declaration: true is enabled. <sup>Written for commit 1138adac2cb2c697d15d3601d9cb29253fbf8643. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 22:20:25 -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#24375