mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-25 11:11:46 +08:00
Updated fixed "collection" function in gridfs-stream interface
This commit is contained in:
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