[PR #6137] [MERGED] chore: fix lint warning #6472

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6137
Author: @bytaesu
Created: 11/20/2025
Status: Merged
Merged: 11/20/2025
Merged by: @himself65

Base: canaryHead: 2025-11-21/fix/lint-warning


📝 Commits (1)

📊 Changes

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

View changed files

📝 test/unit/oidc/scope-consent.spec.ts (+3 -1)

📄 Description

lint-warning

Summary by cubic

Resolved a lint warning in the OIDC scope consent unit test by adding an explicit type to clientReg. Uses Awaited<ReturnType> to improve type safety.

Written for commit 5ca9102264. Summary will update automatically 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/6137 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 11/20/2025 **Status:** ✅ Merged **Merged:** 11/20/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `2025-11-21/fix/lint-warning` --- ### 📝 Commits (1) - [`5ca9102`](https://github.com/better-auth/better-auth/commit/5ca9102264dc0abf4fba201872012edcd781a0f4) fix: lint warning ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `test/unit/oidc/scope-consent.spec.ts` (+3 -1) </details> ### 📄 Description <img width="893" height="300" alt="lint-warning" src="https://github.com/user-attachments/assets/1e34d7db-8a09-4a9a-aa5e-6aa6e84a96a0" /> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Resolved a lint warning in the OIDC scope consent unit test by adding an explicit type to clientReg. Uses Awaited<ReturnType<typeof auth.api.registerOAuthApplication>> to improve type safety. <sup>Written for commit 5ca9102264dc0abf4fba201872012edcd781a0f4. Summary will update automatically 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:00:28 -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#6472