We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_id
$db.f
1 parent 8ea4b63 commit 412ee2fCopy full SHA for 412ee2f
env.d.ts
@@ -720,8 +720,8 @@ type MongoTypeStringsToTypes = {
720
721
type MongoTypeString = keyof MongoTypeStringsToTypes
722
type MongoTypeNumber = -1 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 16 | 17 | 18 | 19 | 127
723
-type MongoId = Exclude<MongoPrimitive, null> | MongoObjectId | MongoObject
724
-type MongoQueryId = Exclude<MongoPrimitive, null> | MongoQueryObject
+type MongoId = Exclude<MongoPrimitive, null | false> | MongoObjectId | MongoObject
+type MongoQueryId = Exclude<MongoPrimitive, null | false> | MongoObjectId | MongoQueryObject
725
type MongoDocument = MongoObject & { _id?: MongoId }
726
727
type MongoQueryType<TQuery extends MongoQueryObject> = {
0 commit comments