From 39daafa17e67737d2eb45ad10b9af2a03cc3cf45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Oborn=C3=ADk?= Date: Tue, 25 Feb 2014 09:44:01 +0100 Subject: [PATCH] mongodb.ObjectID has optional constructor string --- mongodb/mongodb.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongodb/mongodb.d.ts b/mongodb/mongodb.d.ts index cc2de59bed..0805e832ab 100644 --- a/mongodb/mongodb.d.ts +++ b/mongodb/mongodb.d.ts @@ -109,7 +109,7 @@ declare module "mongodb" { // Class documentation : http://mongodb.github.io/node-mongodb-native/api-bson-generated/objectid.html // Last update: doc. version 1.3.13 (28.08.2013) export class ObjectID { - constructor (s: string); + constructor (s?: string); // Returns the ObjectID id as a 24 byte hex string representation public toHexString() : string;