Fix bug from different definition of ObjectID (#20095)

This commit is contained in:
Samphan Raruenrom
2017-10-03 11:21:53 -07:00
committed by Ryan Cavanaugh
parent a2c18a27e0
commit 4d92879256
+4 -1
View File
@@ -103,7 +103,10 @@ declare module Mongo {
interface ObjectIDStatic {
new (hexString?: string): ObjectID;
}
interface ObjectID { }
interface ObjectID {
toHexString(): string;
equals(otherID: ObjectID): boolean;
}
function setConnectionOptions(options: any): void;
}