Skip to content

Conversation

@alexisintech
Copy link
Member

🔎 Previews:

All of the types in clerk/javascript got moved from types/ to shared/types (PR)

This updates the pathing to the new folder

Checklist

  • I have clicked on "Files changed" and performed a thorough self-review
  • All existing checks pass

@alexisintech alexisintech requested a review from a team as a code owner October 30, 2025 19:04
@vercel
Copy link

vercel bot commented Oct 30, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
clerk-docs Error Error Oct 30, 2025 7:04pm

@alexisintech
Copy link
Member Author

currently erroring that shared/** is not found because clerk-docs hasn't merged in the typedoc updates yet

@SarahSoutoul
Copy link
Contributor

currently erroring that shared/** is not found because clerk-docs hasn't merged in the typedoc updates yet

We probably want this change too on the JS repo for this to work no?

Screenshot 2025-10-30 at 1 14 20 pm

@SarahSoutoul
Copy link
Contributor

Just noticed these are broken too on the hooks:

Screenshot 2025-10-30 at 1 18 42 pm Screenshot 2025-10-30 at 1 20 48 pm Screenshot 2025-10-30 at 1 18 38 pm

@alexisintech
Copy link
Member Author

currently erroring that shared/** is not found because clerk-docs hasn't merged in the typedoc updates yet

We probably want this change too on the JS repo for this to work no?

Screenshot 2025-10-30 at 1 14 20 pm

its here: clerk/javascript#7106

@SarahSoutoul
Copy link
Contributor

SarahSoutoul commented Nov 3, 2025

Just noticed these are broken too on the hooks:

@alexisintech @NWylynko After investigating this, from what I can tell, all the hooks from the clerk-react package have broken types, so:

  • useUser - see diff btw live site and locally

    Screenshot 2025-11-03 at 4 27 27 pm Screenshot 2025-11-03 at 4 27 11 pm
  • useSignIn - see diff btw live site and locally

    Screenshot 2025-11-03 at 4 29 43 pm Screenshot 2025-11-03 at 4 29 46 pm
  • useSignUp - see diff btw live site and locally

    Screenshot 2025-11-03 at 4 30 38 pm Screenshot 2025-11-03 at 4 30 34 pm
  • useSession - see diff btw live site and locally

  • useSessionList - see diff btw live site and locally

Although, I am not sure why useUser, useSession and useSessionList use <Typedoc src="clerk-react/xyz" /> because they actually exist in the shared package on the javascript repo. If I replace those instances with <Typedoc src="shared/xyz" />, it returns the resources types properly. But, it still leaves useSignIn and useSignUp as broken ones.

The moving of the types properly caused this but after trying diff things, I wasn't able to fix it. But wanted to post my investigation results for context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants