Why I am getting typescript type error in my findOne function - Prisma