Updated fixed "collection" function in gridfs-stream interface

This commit is contained in:
Lior Mualem committed 2014-05-07 10:56:02 +03:00
1 parent 6d4beebae9
commit ca4444fdb9
1 file changed
+2 -1
+2 -1
View File
@@ -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;