mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Merge pull request #31798 from epicfaace/patch-1
Mongoose types - Add Query.getOptions()
This commit is contained in:
Vendored
+7
-1
@@ -1894,7 +1894,13 @@ declare module "mongoose" {
|
||||
* is an Array. See the examples.
|
||||
*/
|
||||
geometry(object: { type: string, coordinates: any[] }): this;
|
||||
|
||||
|
||||
/**
|
||||
* Returns the current query options as a JSON object.
|
||||
* @returns current query options
|
||||
*/
|
||||
getOptions(): any;
|
||||
|
||||
/**
|
||||
* Returns the current query conditions as a JSON object.
|
||||
* @returns current query conditions
|
||||
|
||||
Reference in New Issue
Block a user