[PR #6819] [MERGED] chore: replace unsafe any in adapter factory types #23802

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6819
Author: @MuzzaiyyanHussain
Created: 12/17/2025
Status: Merged
Merged: 12/17/2025
Merged by: @himself65

Base: canaryHead: fix/types-adapter-any


📝 Commits (1)

  • e71e3f2 fix(types): replace unsafe any with unknown in adapter factory types

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 packages/core/src/db/adapter/types.ts (+5 -5)

📄 Description

Replaces unsafe any usage in adapter factory public types with unknown.
This is a type-only change and does not affect runtime behavior..


Summary by cubic

Replaced unsafe any with unknown in adapter factory public types to improve type safety. This is a type-only change and does not affect runtime behavior.

Written for commit e71e3f273a. Summary will update automatically 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/6819 **Author:** [@MuzzaiyyanHussain](https://github.com/MuzzaiyyanHussain) **Created:** 12/17/2025 **Status:** ✅ Merged **Merged:** 12/17/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `fix/types-adapter-any` --- ### 📝 Commits (1) - [`e71e3f2`](https://github.com/better-auth/better-auth/commit/e71e3f273ad2a582e8b6f3f921932263e473d981) fix(types): replace unsafe any with unknown in adapter factory types ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/db/adapter/types.ts` (+5 -5) </details> ### 📄 Description Replaces unsafe any usage in adapter factory public types with unknown. This is a type-only change and does not affect runtime behavior.. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Replaced unsafe any with unknown in adapter factory public types to improve type safety. This is a type-only change and does not affect runtime behavior. <sup>Written for commit e71e3f273ad2a582e8b6f3f921932263e473d981. Summary will update automatically 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 21:59: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#23802