DefinitelyTyped/types/mongoose-deep-populate/index.d.ts
Jérémy Fauvel e82a2fbe2c
[MongoDB] Improve cursor implementation when use as async iterator (#44000)
* improve cursor when use as async iterator

* specify typescript 3.2 as minimum version

* disable await-promise rule

* update dependencies

* improve tests

* require 3.2 in dependencies

* require 3.2 in dependencies
2020-04-24 18:44:01 -04:00

10 lines
420 B
TypeScript

// Type definitions for mongoose-deep-populate 2.0.3
// Project: https://github.com/buunguyen/mongoose-deep-populate
// Definitions by: Aya Morisawa <https://github.com/AyaMorisawa>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 3.2
import { Mongoose, Schema } from 'mongoose';
export default function (mongoose: Mongoose): (schema: Schema, options: Object) => void;