[@types/mongodb] add the Int32 type (#38338)

This commit is contained in:
Jack Wearden
2019-09-19 12:19:40 -07:00
committed by Daniel Rosenwasser
parent cc9d2ff316
commit de12907d79
+1 -1
View File
@@ -44,7 +44,7 @@ export function connect(uri: string, options?: MongoClientOptions): Promise<Mong
export function connect(uri: string, callback: MongoCallback<MongoClient>): void;
export function connect(uri: string, options: MongoClientOptions, callback: MongoCallback<MongoClient>): void;
export { Binary, DBRef, Decimal128, Double, Long, MaxKey, MinKey, ObjectID, ObjectId, Timestamp } from 'bson';
export { Binary, DBRef, Decimal128, Double, Int32, Long, MaxKey, MinKey, ObjectID, ObjectId, Timestamp } from 'bson';
// Class documentation : http://mongodb.github.io/node-mongodb-native/3.1/api/MongoClient.html
export class MongoClient extends EventEmitter {