diff --git a/gridfs-stream/gridfs-stream.d.ts b/gridfs-stream/gridfs-stream.d.ts index 65b134a1d..e5b55c66d 100644 --- a/gridfs-stream/gridfs-stream.d.ts +++ b/gridfs-stream/gridfs-stream.d.ts @@ -55,8 +55,9 @@ declare module "gridfs-stream" { module g { export class Grid { + files: mongo.Collection; - collection: mongo.Collection; + collection(name?: string): mongo.Collection; createWriteStream(options?: GridFSStream.Options): GridFSStream.WriteStream; createReadStream(options?: GridFSStream.Options): GridFSStream.ReadStream;