[PR #623] [MERGED] feat: improve type hinting for social providers #3400

Closed
opened 2026-03-13 10:52:35 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/623
Author: @himself65
Created: 11/22/2024
Status: Merged
Merged: 11/22/2024
Merged by: @Bekacru

Base: nextHead: himself65/20241222/improve


📝 Commits (4)

📊 Changes

3 files changed (+21 additions, -15 deletions)

View changed files

📝 docs/content/docs/integrations/nuxt.mdx (+1 -0)
📝 docs/content/docs/plugins/organization.mdx (+11 -6)
📝 packages/better-auth/src/social-providers/index.ts (+9 -9)

📄 Description

I have bad DX on webstorm with old behavior. I think it's too much infer here that delays ts server

old behavior:
image

image

new behavior:
image

image

🔄 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/623 **Author:** [@himself65](https://github.com/himself65) **Created:** 11/22/2024 **Status:** ✅ Merged **Merged:** 11/22/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `next` ← **Head:** `himself65/20241222/improve` --- ### 📝 Commits (4) - [`cff58e1`](https://github.com/better-auth/better-auth/commit/cff58e168777984fb04f918b791ade85c32ef299) docs: add NuxtZzle link as example integration with Nuxt (#612) - [`40a9dd4`](https://github.com/better-auth/better-auth/commit/40a9dd4b47d6a0ed3228c69b559633cb326855ac) docs: fix api (#616) - [`7c9a8ae`](https://github.com/better-auth/better-auth/commit/7c9a8ae63d49987c6094b741606930744bd97365) feat: improve type hinting for social providers - [`0d8c244`](https://github.com/better-auth/better-auth/commit/0d8c2443d1ff8103991dff5e0d3c88c219e716cc) fix: lint ### 📊 Changes **3 files changed** (+21 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/integrations/nuxt.mdx` (+1 -0) 📝 `docs/content/docs/plugins/organization.mdx` (+11 -6) 📝 `packages/better-auth/src/social-providers/index.ts` (+9 -9) </details> ### 📄 Description I have bad DX on webstorm with old behavior. I think it's too much infer here that delays ts server old behavior: <img width="739" alt="image" src="https://github.com/user-attachments/assets/5171df34-7607-4834-ab3e-57a288b47cd6"> <img width="763" alt="image" src="https://github.com/user-attachments/assets/385e5e0e-b9e9-41d4-8e45-072cacaaacfe"> new behavior: <img width="762" alt="image" src="https://github.com/user-attachments/assets/95d12916-6883-4353-ad13-093fa27911f0"> <img width="710" alt="image" src="https://github.com/user-attachments/assets/bfd9ab11-e3b4-4a88-bb12-5123ecd45aac"> --- <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 10:52: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#3400