Interface Base<IDType>

This Interface can be used when "_id" and "id" need to be defined in types

interface Base<IDType> {
    _id: IDType;
    id: string;
}

Type Parameters

Properties

Properties

_id: IDType
id: string

This getter/setter doesn't exist if "schemaOptions.id" being set to "false"