[PR #7563] [MERGED] perf: fix infinite typecheck #33003

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

📋 Pull Request Information

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

Base: canaryHead: himself65/2026/01/22/performance


📝 Commits (1)

  • 11804f2 perf: fix infinite typecheck

📊 Changes

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

View changed files

📝 packages/sso/src/index.ts (+1 -1)
📝 packages/sso/src/routes/providers.ts (+1 -1)

📄 Description

Summary by cubic

Simplified updateSSOProvider typings to stop infinite TypeScript type checking loops. This improves build and editor performance in the SSO package.

  • Bug Fixes
    • Removed the generic from updateSSOProvider and updated SSOEndpoints ReturnType to avoid recursive types.
    • No runtime behavior changes; types only.

Written for commit 11804f29bb. 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/7563 **Author:** [@himself65](https://github.com/himself65) **Created:** 1/22/2026 **Status:** ✅ Merged **Merged:** 1/22/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2026/01/22/performance` --- ### 📝 Commits (1) - [`11804f2`](https://github.com/better-auth/better-auth/commit/11804f29bb32a3ba9025754bf9cb28d273498453) perf: fix infinite typecheck ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/sso/src/index.ts` (+1 -1) 📝 `packages/sso/src/routes/providers.ts` (+1 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Simplified updateSSOProvider typings to stop infinite TypeScript type checking loops. This improves build and editor performance in the SSO package. - **Bug Fixes** - Removed the generic from updateSSOProvider and updated SSOEndpoints ReturnType to avoid recursive types. - No runtime behavior changes; types only. <sup>Written for commit 11804f29bb32a3ba9025754bf9cb28d273498453. 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-17 23:41:38 -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#33003