[PR #6795] [CLOSED] fix(types): replace unsafe any in adapter factory types #32490

Closed
opened 2026-04-17 23:17:34 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6795
Author: @MuzzaiyyanHussain
Created: 12/16/2025
Status: ❌ Closed

Base: canary ← Head: fix/types-adapter-any-pr


📝 Commits (1)

  • e5bebfa fix(types): replace remaining unsafe any with unknown

📊 Changes

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

View changed files

📝 packages/better-auth/src/adapters/adapter-factory/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 and prevent misuse. Type-only change; no runtime behavior changes.

Written for commit e5bebfa198. 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/6795 **Author:** [@MuzzaiyyanHussain](https://github.com/MuzzaiyyanHussain) **Created:** 12/16/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `fix/types-adapter-any-pr` --- ### 📝 Commits (1) - [`e5bebfa`](https://github.com/better-auth/better-auth/commit/e5bebfa198e840a6362a32ef8bd1f54fcbf84889) fix(types): replace remaining unsafe any with unknown ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/adapters/adapter-factory/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 and prevent misuse. Type-only change; no runtime behavior changes. <sup>Written for commit e5bebfa198e840a6362a32ef8bd1f54fcbf84889. 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-17 23:17:34 -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#32490