mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Add custom PaginateOptions for all queries (#44129)
As of mongoose-paginate-v2 documentation https://github.com/aravindnc/mongoose-paginate-v2#set-custom-default-options-for-all-queries
This commit is contained in:
parent
291d336a53
commit
a023bf6430
3
types/mongoose-paginate-v2/index.d.ts
vendored
3
types/mongoose-paginate-v2/index.d.ts
vendored
@ -90,3 +90,6 @@ declare module 'mongoose' {
|
||||
import mongoose = require('mongoose');
|
||||
declare function _(schema: mongoose.Schema): void;
|
||||
export = _;
|
||||
declare namespace _ {
|
||||
const paginate: { options: mongoose.PaginateOptions };
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user