mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 15:00:26 +00:00
Fix bug from different definition of ObjectID (#20095)
This commit is contained in:
committed by
Ryan Cavanaugh
parent
a2c18a27e0
commit
4d92879256
Vendored
+4
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user