mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
Update index.d.ts
Accepted proposed change from pull request
This commit is contained in:
1
types/mongoose-simple-random/index.d.ts
vendored
1
types/mongoose-simple-random/index.d.ts
vendored
@@ -4,6 +4,7 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
/// <reference types="mongoose" />
|
||||
|
||||
// tslint:disable-next-line no-single-declare-module
|
||||
declare module "mongoose" {
|
||||
interface Model<T extends Document> extends NodeJS.EventEmitter, ModelProperties {
|
||||
findRandom(conditions: Object, projection?: Object | null, options?: Object | null, callback?: (err: any, res: T[]) => void)
|
||||
|
||||
Reference in New Issue
Block a user