How to define interface of the retrieved document

I want to do somthing like this:

interface User{
email:string
passwordHash:string
}

async function GET(){

// collection and myQuery is already in scope
const  data:User = collection.findOne(myQuery)
}

but it is giving me this error
Type 'WithId<Document>' is missing the following properties from type 'Uset': email, passwordHash ts(2739)