Files
better-auth/docs/content
Jovan Lanutan 236c29e270 docs: remove unused import of 'auth' type in authClient setup (#3856)
In the previous implementation, the import statement for 'auth' type from './auth' was included as part of the setup for the authClient, but it is no longer being used in the current code. This update removes the unnecessary import to clean up the code and prevent potential confusion.

Additionally, the authClient setup remains intact with the use of 'inferAdditionalFields' plugin to define additional user fields (role type set to 'string').

- Removed unused import: `import type { auth } from "./auth"`
- Kept the authClient initialization with 'inferAdditionalFields' plugin

This resolves a minor issue and ensures that the code remains clean and maintainable.
2025-08-07 19:08:40 +03:00
..
2025-04-13 14:11:08 +02:00