我对打字稿很陌生,我正在努力理解为什么我会犯以下错误。类型“FindCursor”缺少“Topping”类型中的下列属性: name,priceCents
“答应”类型的参数不能分配给“void”类型的参数
throw new Error(`Could not find ${ID}`);
const top
await User.findOneAndUpdate( { $push: { likedArtists: new ObjectId奇怪的是,$push所在的代码行抛出了一个错误,特别是在"likedArtists“处,它说: ... gave the following error.Type 'ObjectId' is not assignable to type 'never' 这是用户的架构 import mo