mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 21:40:21 +00:00
Added find method with no args (#9484)
This commit is contained in:
committed by
Horiuchi_H
parent
473232e5db
commit
1be72cdce3
Vendored
+1
@@ -196,6 +196,7 @@ declare module "mongoose" {
|
||||
distinct(field: string, conditions: Object, callback?: (err: any, res: T[]) => void): Query<T[]>;
|
||||
ensureIndexes(callback: (err: any) => void): Promise<T>;
|
||||
|
||||
find(): Query<T[]>;
|
||||
find(cond: Object, callback?: (err: any, res: T[]) => void): Query<T[]>;
|
||||
find(cond: Object, fields: Object, callback?: (err: any, res: T[]) => void): Query<T[]>;
|
||||
find(cond: Object, fields: Object, options: Object, callback?: (err: any, res: T[]) => void): Query<T[]>;
|
||||
|
||||
Reference in New Issue
Block a user