Type alias SchemaDefinitionType<T>

SchemaDefinitionType<T>: T extends mongoose.Document
    ? Omit<T, Exclude<keyof mongoose.Document, "_id" | "id" | "__v">>
    : T

Type Parameters

  • T

Generated using TypeDoc