Preparing search index...
The search index is not available
biorate
biorate
mongodb
mongoose
mongo
InferIdType
Type alias InferIdType<TSchema>
Infer
Id
Type
<
TSchema
>
:
TSchema
extends
{
_id
:
infer
IdType
;
}
?
Record
<
any
,
never
>
extends
IdType
?
never
:
IdType
:
TSchema
extends
{
_id
?:
infer
IdType
;
}
?
unknown
extends
IdType
?
mongoose
.
mongo
.
BSON
.
ObjectId
:
IdType
:
mongoose
.
mongo
.
BSON
.
ObjectId
Given an object shaped type, return the type of the _id field or default to ObjectId
Type Parameters
TSchema
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
biorate
Loading...
Given an object shaped type, return the type of the _id field or default to ObjectId