[GH-ISSUE #139] Recursive Types (Infinite) #8145

Closed
opened 2026-04-13 03:13:23 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @fvcoder on GitHub (Oct 10, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/139

image

Originally created by @fvcoder on GitHub (Oct 10, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/139 ![image](https://github.com/user-attachments/assets/4e9dda67-bb66-4bc2-866d-3ee1e06368ab)
GiteaMirror added the locked label 2026-04-13 03:13:23 -05:00
Author
Owner

@Bekacru commented on GitHub (Oct 17, 2024):

you shouldn't do this. if you need to infer the auth instance type, import the instance and infer it with typeof auth instead.

<!-- gh-comment-id:2419875470 --> @Bekacru commented on GitHub (Oct 17, 2024): you shouldn't do this. if you need to infer the auth instance type, import the instance and infer it with `typeof auth` instead.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8145