Select query return type seems weird

In the screenshot you can see I'm trying to query from user schema using findFirst(), but when I hover the result varaible to check the return type it is not of user schema type instead it shows some general type. What might be the issue, am I doing anything wrong here?
No description
1 Reply
TOSL
TOSL2mo ago
The screenshot shows your error but you need to share everything relevant so we have the context required to help.

Did you find this page helpful?