[PR #4734] [MERGED] chore: remove @ts-expect-error #13802

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

📋 Pull Request Information

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

Base: canaryHead: himself65/2025/09/17/any


📝 Commits (2)

📊 Changes

1 file changed (+2 additions, -3 deletions)

View changed files

📝 packages/better-auth/src/db/utils.ts (+2 -3)

📄 Description

Summary by cubic

Removed a ts-expect-error by explicitly typing the in-memory DB initialization as MemoryDB and importing the type. Improves type safety for the default memory adapter with no behavior change.


🔄 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/4734 **Author:** [@himself65](https://github.com/himself65) **Created:** 9/17/2025 **Status:** ✅ Merged **Merged:** 9/17/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/09/17/any` --- ### 📝 Commits (2) - [`2348399`](https://github.com/better-auth/better-auth/commit/23483996478031ce030d8bd6ea58bc4008eb4aae) chore: remove @ts-expect-error - [`961b9eb`](https://github.com/better-auth/better-auth/commit/961b9eb7e32c36198f1822c8deb3b96d34cbbc84) chore: lint ### 📊 Changes **1 file changed** (+2 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/db/utils.ts` (+2 -3) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Removed a ts-expect-error by explicitly typing the in-memory DB initialization as MemoryDB and importing the type. Improves type safety for the default memory adapter with no behavior change. <!-- 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-13 09:09:35 -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#13802