diff --git a/mongodb/index.d.ts b/mongodb/index.d.ts index 82f8f0dcce..bdf89c32f6 100644 --- a/mongodb/index.d.ts +++ b/mongodb/index.d.ts @@ -417,7 +417,7 @@ export class ObjectID { static createFromTime(time: number): ObjectID; // Checks if a value is a valid bson ObjectId // id - Value to be checked - static isValid(id: string | number): boolean; + static isValid(id: any): boolean; //Compares the equality of this ObjectID with otherID. equals(otherID: ObjectID): boolean; // Generate a 12 byte id string used in ObjectID's