mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-14 12:09:04 +08:00
Updated fixed "collection" function in gridfs-stream interface
This commit is contained in:
3
gridfs-stream/gridfs-stream.d.ts
vendored
3
gridfs-stream/gridfs-stream.d.ts
vendored
@@ -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