[PR #5366] [CLOSED] chore: update DX typing #5961

Closed
opened 2026-03-13 12:42:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5366
Author: @himself65
Created: 10/16/2025
Status: Closed

Base: canaryHead: himself65/2025/10/16/cookie


📝 Commits (1)

📊 Changes

3 files changed (+8 additions, -3 deletions)

View changed files

📝 packages/better-auth/src/cookies/index.ts (+1 -1)
📝 packages/core/tsconfig.json (+2 -1)
📝 tsconfig.json (+5 -1)

📄 Description

Summary by cubic

Improved TypeScript DX by adding an explicit BetterAuthCookies return type to getCookies and configuring tsconfig path aliases for @better-auth/core. This tightens typing, improves inference, and makes IDE navigation/imports easier.


🔄 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/5366 **Author:** [@himself65](https://github.com/himself65) **Created:** 10/16/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `himself65/2025/10/16/cookie` --- ### 📝 Commits (1) - [`b9c9d9f`](https://github.com/better-auth/better-auth/commit/b9c9d9f2266d1a9e4ed5ff5f812c026626812da0) chore: update DX typing ### 📊 Changes **3 files changed** (+8 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/cookies/index.ts` (+1 -1) 📝 `packages/core/tsconfig.json` (+2 -1) 📝 `tsconfig.json` (+5 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Improved TypeScript DX by adding an explicit BetterAuthCookies return type to getCookies and configuring tsconfig path aliases for @better-auth/core. This tightens typing, improves inference, and makes IDE navigation/imports easier. <!-- 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 12:42:54 -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#5961