getUser function, which takes a select as its argument :Type 'T & { id: true; }' is not assignable to type 'T & { id: true; }'. Two different types with this name exist, but they are unrelated.user.id : Property 'id' does not exist on type GIANT_TYPESCRIPT_TYPE.any on there).