René's URL Explorer Experiment


Title: fix(nextjs): Improve type inference for the return type of auth helper by panteliselef · Pull Request #2047 · clerk/javascript · GitHub

Open Graph Title: fix(nextjs): Improve type inference for the return type of auth helper by panteliselef · Pull Request #2047 · clerk/javascript

X Title: fix(nextjs): Improve type inference for the return type of auth helper by panteliselef · Pull Request #2047 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(nextjs): Improve type inference for the return type of auth helper by panteliselef · Pull Request #2047 · clerk/javascript

Open Graph Description: Description Before the fix After Checklist npm test runs as expected. npm run build runs as expected. (If applicable) JSDoc comments have been added or updated for any package exports (If ...

X Description: Description Before the fix After Checklist npm test runs as expected. npm run build runs as expected. (If applicable) JSDoc comments have been added or updated for any package exports (If ...

Opengraph URL: https://github.com/clerk/javascript/pull/2047

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:b5408cb4-68fe-f052-4d91-c705b98f9ef7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD44:155E2E:72E3EE:A16FA8:6AF9CD2F
html-safe-nonce0e186b4bb22b11a5bd5dfa3207841922c8bf79bb73b314406b9d71ab57531caf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDQ0OjE1NUUyRTo3MkUzRUU6QTE2RkE4OjZBRjlDRDJGIiwidmlzaXRvcl9pZCI6IjkxMDcwNTU5NTc2Nzc1NTkwODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac388932fdd6e23b40148b899bde550cedce127ef371e589e1a7e5d28c58136923
hovercard-subject-tagpull_request:1587641486
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/2047/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/69025d30a80f58a0718f58dd0d1a24554b1a5c2cbbd57a1cce37ee674761c885/clerk/javascript/pull/2047
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/69025d30a80f58a0718f58dd0d1a24554b1a5c2cbbd57a1cce37ee674761c885/clerk/javascript/pull/2047
og:image:altDescription Before the fix After Checklist npm test runs as expected. npm run build runs as expected. (If applicable) JSDoc comments have been added or updated for any package exports (If ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepanteliselef
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-cache
go-importgithub.com/clerk/javascript git https://github.com/clerk/javascript.git
octolytics-dimension-user_id49538330
octolytics-dimension-user_loginclerk
octolytics-dimension-repository_id438331492
octolytics-dimension-repository_nwoclerk/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438331492
octolytics-dimension-repository_network_root_nwoclerk/javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/2047#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F2047
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F2047
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=clerk%2Fjavascript
Reloadhttps://github.com/clerk/javascript/pull/2047
Reloadhttps://github.com/clerk/javascript/pull/2047
Reloadhttps://github.com/clerk/javascript/pull/2047
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues44 (44)https://github.com/clerk/javascript/issues
Pull requests109 (109)https://github.com/clerk/javascript/pulls
Discussionshttps://github.com/clerk/javascript/discussions
Actionshttps://github.com/clerk/javascript/actions
Security and quality6 (6)https://github.com/clerk/javascript/security
Insightshttps://github.com/clerk/javascript/pulse
https://github.com/clerk/javascript
LekoArtshttps://github.com/LekoArts
mainhttps://github.com/clerk/javascript/tree/main
elef/fix-auth-helper-typehttps://github.com/clerk/javascript/tree/elef/fix-auth-helper-type
Conversationhttps://github.com/clerk/javascript/pull/2047
Commits1 (1)https://github.com/clerk/javascript/pull/2047/commits
Checkshttps://github.com/clerk/javascript/pull/2047/checks
Files changedhttps://github.com/clerk/javascript/pull/2047/files
fix(nextjs): Improve type inference for the return type of auth helperhttps://github.com/clerk/javascript/pull/2047#top
LekoArtshttps://github.com/LekoArts
mainhttps://github.com/clerk/javascript/tree/main
elef/fix-auth-helper-typehttps://github.com/clerk/javascript/tree/elef/fix-auth-helper-type
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
Nov 6, 2023https://github.com/clerk/javascript/pull/2047#issue-1978060034
https://private-user-images.githubusercontent.com/19269911/280565576-541b87be-1291-48aa-9c85-b82691219fb8.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ3NTYxODcsIm5iZiI6MTc5NDc1NTg4NywicGF0aCI6Ii8xOTI2OTkxMS8yODA1NjU1NzYtNTQxYjg3YmUtMTI5MS00OGFhLTljODUtYjgyNjkxMjE5ZmI4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTE1VDE1MTgwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgzYTMzMTJkZGIwYTQ0M2JiMmM5ZGNkNWIwZjkxNDU2MTBjM2JhZTIwMjk5ZDNjMzQwN2ZiNzgzMmZmMTI3NWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.dRFiHIh8cKAlItNC68Eu73vbglXcQNH-q1--sEUQrLM
https://private-user-images.githubusercontent.com/19269911/280565504-9e89989b-1ae8-43c7-b501-c0d8f41a83bf.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ3NTYxODcsIm5iZiI6MTc5NDc1NTg4NywicGF0aCI6Ii8xOTI2OTkxMS8yODA1NjU1MDQtOWU4OTk4OWItMWFlOC00M2M3LWI1MDEtYzBkOGY0MWE4M2JmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTE1VDE1MTgwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk0OTMwZDA1ZGQyNzk5MzQ4MmUwNDI5ZTcxYWIyODE3NDhkYjA0YTA0Y2YwODdiMjlkYjliMmVjZTdlNmRjYmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.CDVC_zMbeTHyxcztjXnYtO15PLWBtlmVjyCH4flHcMQ
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/2047
https://github.com/panteliselef
fix(nextjs): Improve type inference for the return type of auth helperhttps://github.com/clerk/javascript/pull/2047/commits/f084a63b2efc0fc3aae4adfa820e80537702c1db
f084a63https://github.com/clerk/javascript/pull/2047/commits/f084a63b2efc0fc3aae4adfa820e80537702c1db
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
Nov 6, 2023https://github.com/clerk/javascript/pull/2047#event-10866349955
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
code ownerhttps://github.com/clerk/javascript/blob/7f7b4cb885c9c1abd2ffd6b7ad4053535c697f22/CODEOWNERS#L1
November 6, 2023 00:40https://github.com/clerk/javascript/pull/2047#event-10866349965
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Nov 6, 2023https://github.com/clerk/javascript/pull/2047#issuecomment-1793908551
f084a63https://github.com/clerk/javascript/commit/f084a63b2efc0fc3aae4adfa820e80537702c1db
Click here to learn what changesets arehttps://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md
Click here if you're a maintainer who wants to add another changeset to this PRhttps://github.com/clerk/javascript/new/elef/fix-auth-helper-type?filename=.changeset/long-panthers-drop.md&value=---%0A%22%40clerk%2Fbackend%22%3A%20patch%0A%22%40clerk%2Fnextjs%22%3A%20patch%0A---%0A%0Afix(nextjs)%3A%20Improve%20type%20inference%20for%20the%20return%20type%20of%20auth%20helper%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/2047
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
Nov 6, 2023https://github.com/clerk/javascript/pull/2047#event-10866350732
https://github.com/LekoArts
LekoArtshttps://github.com/LekoArts
Nov 6, 2023 https://github.com/clerk/javascript/pull/2047#pullrequestreview-1714444763
View reviewed changes https://github.com/clerk/javascript/pull/2047/files/f084a63b2efc0fc3aae4adfa820e80537702c1db
https://github.com/LekoArts
LekoArtshttps://github.com/LekoArts
Nov 6, 2023https://github.com/clerk/javascript/pull/2047#event-10868897350
c22cd52https://github.com/clerk/javascript/commit/c22cd52147492ba25f3c07bdbe6bbc4eb49a5cf0
Nov 6, 2023https://github.com/clerk/javascript/pull/2047#event-10869023622
https://github.com/LekoArts
LekoArtshttps://github.com/LekoArts
November 6, 2023 08:04https://github.com/clerk/javascript/pull/2047#event-10869023816
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Nov 6, 2023 https://github.com/clerk/javascript/pull/2047#ref-pullrequest-1972307689
Version Packages (alpha-v5) #2000 https://github.com/clerk/javascript/pull/2000
panteliselefhttps://github.com/panteliselef
Nov 6, 2023 https://github.com/clerk/javascript/pull/2047#ref-commit-ff78689
https://github.com/panteliselef
fix(nextjs): Improve type inference for the return type of auth helper (https://github.com/clerk/javascript/commit/ff78689ec513b7c50c967c8fb68ca916a8614185
ff78689https://github.com/clerk/javascript/commit/ff78689ec513b7c50c967c8fb68ca916a8614185
#2047https://github.com/clerk/javascript/pull/2047
https://github.com/panteliselef
panteliselefhttps://github.com/panteliselef
Nov 6, 2023 https://github.com/clerk/javascript/pull/2047#ref-pullrequest-1978545849
fix(nextjs): Improve type inference for the return type of auth helper (#2047) #2049 https://github.com/clerk/javascript/pull/2049
panteliselefhttps://github.com/panteliselef
Nov 6, 2023 https://github.com/clerk/javascript/pull/2047#ref-commit-8352ff5
https://github.com/panteliselef
fix(nextjs): Improve type inference for the return type of auth helper (https://github.com/clerk/javascript/commit/8352ff56c80f50e17456388f3dc01cb7be979530
8352ff5https://github.com/clerk/javascript/commit/8352ff56c80f50e17456388f3dc01cb7be979530
#2047https://github.com/clerk/javascript/pull/2047
github-merge-queuehttps://github.com/apps/github-merge-queue
Nov 6, 2023 https://github.com/clerk/javascript/pull/2047#ref-commit-20eab83
https://github.com/panteliselef
fix(nextjs): Improve type inference for the return type of auth helper (https://github.com/clerk/javascript/commit/20eab836569bba99bbc058d1dd599c5fcfc005de
20eab83https://github.com/clerk/javascript/commit/20eab836569bba99bbc058d1dd599c5fcfc005de
#2047https://github.com/clerk/javascript/pull/2047
#2049https://github.com/clerk/javascript/pull/2049
https://github.com/LekoArts
LekoArtshttps://github.com/LekoArts
Mar 13, 2024 https://github.com/clerk/javascript/pull/2047#ref-pullrequest-2183445819
fix(themes): Add tslib and @clerk/types as dependencies to @clerk/themes (#2665) #2987 https://github.com/clerk/javascript/pull/2987
https://github.com/LekoArts
LekoArtshttps://github.com/LekoArts
Aug 2, 2024 https://github.com/clerk/javascript/pull/2047#ref-pullrequest-2444224984
chore(repo): Correct changeset #3883 https://github.com/clerk/javascript/pull/3883
https://github.co/hiddenchars
https://github.com/clerk/javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F2047
https://github.com/LekoArts
LekoArts https://github.com/LekoArts
https://github.com/clerk/javascript/pull/2047/files/f084a63b2efc0fc3aae4adfa820e80537702c1db
Please reload this pagehttps://github.com/clerk/javascript/pull/2047
https://github.com/panteliselef
panteliselef https://github.com/panteliselef
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
Please reload this pagehttps://github.com/clerk/javascript/pull/2047
https://github.com/panteliselef
https://github.com/LekoArts
https://github.com/clerk-cookie
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.