[PR #7148] [MERGED] chore(oauth-provider): add NoInfer #7103

Closed
opened 2026-03-13 13:24:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: canaryHead: himself65/2026/01/06/no-infer


📝 Commits (1)

  • f7d57cb chore(oauth-provider): add NoInfer

📊 Changes

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

View changed files

📝 packages/oauth-provider/src/oauth.ts (+1 -1)

📄 Description

Summary by cubic

Use NoInfer on oauthProvider options to preserve the input type and stop unwanted TypeScript inference. This improves type safety and avoids accidental type widening.

Written for commit f7d57cbea2. 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/7148 **Author:** [@himself65](https://github.com/himself65) **Created:** 1/6/2026 **Status:** ✅ Merged **Merged:** 1/6/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2026/01/06/no-infer` --- ### 📝 Commits (1) - [`f7d57cb`](https://github.com/better-auth/better-auth/commit/f7d57cbea231312b48da7b4f45f04e50cd0df345) chore(oauth-provider): add `NoInfer` ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/oauth-provider/src/oauth.ts` (+1 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Use NoInfer on oauthProvider options to preserve the input type and stop unwanted TypeScript inference. This improves type safety and avoids accidental type widening. <sup>Written for commit f7d57cbea231312b48da7b4f45f04e50cd0df345. 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-03-13 13:24:13 -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#7103