[GH-ISSUE #1660] Types issues on the client on 1.2.0 #8854

Closed
opened 2026-04-13 04:05:41 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @focux on GitHub (Mar 3, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/1660

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

After upgrading to 1.2.0, I started getting types issues and from my investigation, it seems related to the Prettify type util. When I removed the Prettify util, everything started working again.

Current vs. Expected behavior

Types to work on the client

What version of Better Auth are you using?

1.2.0

Provide environment information

.

Which area(s) are affected? (Select all that apply)

Client

Auth config (if applicable)

import { betterAuth } from "better-auth"
export const auth = betterAuth({
  emailAndPassword: {  
    enabled: true
  },
});

Additional context

No response

Originally created by @focux on GitHub (Mar 3, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/1660 ### Is this suited for github? - [x] Yes, this is suited for github ### To Reproduce After upgrading to 1.2.0, I started getting types issues and from my investigation, it seems related to the `Prettify` type util. When I removed the `Prettify` util, everything started working again. ### Current vs. Expected behavior Types to work on the client ### What version of Better Auth are you using? 1.2.0 ### Provide environment information ```bash . ``` ### Which area(s) are affected? (Select all that apply) Client ### Auth config (if applicable) ```typescript import { betterAuth } from "better-auth" export const auth = betterAuth({ emailAndPassword: { enabled: true }, }); ``` ### Additional context _No response_
GiteaMirror added the lockedbug labels 2026-04-13 04:05:41 -05:00
Author
Owner

@Kinfe123 commented on GitHub (May 1, 2025):

is this still an issue ?

<!-- gh-comment-id:2845144427 --> @Kinfe123 commented on GitHub (May 1, 2025): is this still an issue ?
Author
Owner

@andrewpeters9 commented on GitHub (May 1, 2025):

@Kinfe123 it's not, can be closed

<!-- gh-comment-id:2845169115 --> @andrewpeters9 commented on GitHub (May 1, 2025): @Kinfe123 it's not, can be closed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8854