Type Alias WithoutId<TSchema>

WithoutId<TSchema>: Omit<TSchema, "_id">

Remove the _id field from an object shaped type从对象形状类型中删除_id字段

Type Parameters

  • TSchema