diff --git a/types/mongodb/index.d.ts b/types/mongodb/index.d.ts index cad52bb88a..bf2cda4903 100644 --- a/types/mongodb/index.d.ts +++ b/types/mongodb/index.d.ts @@ -16,6 +16,7 @@ // Jimmy Shimizu // Dominik Heigl // Angela-1 +// Mikael Lirbank // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -208,6 +209,7 @@ export class MongoError extends Error { constructor(message: string); static create(options: Object): MongoError; code?: number; + errmsg?: string; } /** http://mongodb.github.io/node-mongodb-native/3.1/api/MongoClient.html#.connect */