mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
add bson/Int32 to exports (#27662)
This commit is contained in:
2
types/mongodb/v2/index.d.ts
vendored
2
types/mongodb/v2/index.d.ts
vendored
@@ -22,7 +22,7 @@ export function connect(uri: string, options?: MongoClientOptions): Promise<Db>;
|
||||
export function connect(uri: string, callback: MongoCallback<Db>): void;
|
||||
export function connect(uri: string, options: MongoClientOptions, callback: MongoCallback<Db>): void;
|
||||
|
||||
export { Binary, Double, Long, Decimal128, MaxKey, MinKey, ObjectID, ObjectId, Timestamp, DBRef } from 'bson';
|
||||
export { Binary, Double, Long, Decimal128, MaxKey, MinKey, ObjectID, ObjectId, Timestamp, DBRef, Int32 } from 'bson';
|
||||
|
||||
// Class documentation : http://mongodb.github.io/node-mongodb-native/2.1/api/MongoClient.html
|
||||
export class MongoClient {
|
||||
|
||||
Reference in New Issue
Block a user