mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-10 11:50:49 +08:00
Updated fixed "collection" function in gridfs-stream interface
This commit is contained in:
1 parent
6d4beebae9
commit
ca4444fdb9
1 file changed
+2
-1
Vendored
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user