Record<string, any> union in returned data object from authClient hook
In the above example I've completly lost typescript, anything im trying to access on data object is basicly of type any.
I do have strict mode enabled in tsconfig.json, this is the full type of
data
:
Notice the Record<string, any>
in there, is there anything i can do about it? Is this a bug or am I misunderstanding something?0 Replies