Changed type in ObjectID.isValid (#13827)

This commit is contained in:
Federico Caselli
2017-01-07 05:44:26 -08:00
committed by Andy
parent 1af69c47fb
commit deb4e610b7
+1 -1
View File
@@ -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