From abbedb2aaefd3a607495186915f4ebec06f0164c Mon Sep 17 00:00:00 2001 From: Samual Norman Date: Mon, 30 Dec 2024 17:15:03 +0000 Subject: [PATCH] add ObjectId to MongoId type union --- env.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env.d.ts b/env.d.ts index ffc02cf..ec642bc 100644 --- a/env.d.ts +++ b/env.d.ts @@ -720,7 +720,7 @@ type MongoTypeStringsToTypes = { type MongoTypeString = keyof MongoTypeStringsToTypes type MongoTypeNumber = -1 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 16 | 17 | 18 | 19 | 127 -type MongoId = Exclude | MongoObject +type MongoId = Exclude | ObjectId | MongoObject type MongoQueryId = Exclude | MongoQueryObject type MongoDocument = MongoObject & { _id?: MongoId } -- knotmirror 0.0.1