Skip to content

Commit 3bb7c70

Browse files
committed
fix: ts
1 parent 31c542a commit 3bb7c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,7 @@ export function getMongoDBClientEncryption(): {
13001300
* - `-1 = oid1 is less than oid2`
13011301
* - `+0 = oid1 is equal oid2`
13021302
*/
1303-
export function compareObjectId(oid1?: ObjectId, oid2?: ObjectId): 0 | 1 | -1 {
1303+
export function compareObjectId(oid1?: ObjectId | null, oid2?: ObjectId | null): 0 | 1 | -1 {
13041304
if (oid1 == null && oid2 == null) {
13051305
return 0;
13061306
}

0 commit comments

Comments
 (0)