how to correctly type useSession on the client side

I'm using React and using the useSession hook that comes from authClient, the data type comes as const data: {
user: any;
session: any;
} | null. I saw the correct values in the console. How can I correctly type the user and session? This is my first time doing this setup
image.png
image.png
Was this page helpful?