Noiseless Party Machine

    @types/mongoose-auto-increment
    TypeScript icon, indicating that this package has built-in type declarations

    5.0.35 • Public • Published

    Installation

    npm install --save @types/mongoose-auto-increment

    Summary

    This package contains type definitions for mongoose-auto-increment (https://github.com/codetunnel/mongoose-auto-increment).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mongoose-auto-increment.

    index.d.ts

    // Type definitions for mongoose-auto-increment 5.0.1
    // Project: https://github.com/codetunnel/mongoose-auto-increment
    // Definitions by: Aya Morisawa <https://github.com/AyaMorisawa>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    // Minimum TypeScript Version: 4.1
    
    import { Connection, Schema, Mongoose } from 'mongoose';
    
    /**
     * Initialize plugin by creating counter collection in database.
     */
    declare function initialize(connection: Connection): void;
    
    /**
     * The function to use when invoking the plugin on a custom schema.
     */
    declare function plugin(schema: Schema, options: Object): void;

    Additional Details

    • Last updated: Sun, 24 Apr 2022 14:31:46 GMT
    • Dependencies: @types/mongoose
    • Global values: none

    Credits

    These definitions were written by Aya Morisawa.

    Keywords

    none

    Install

    npm i @types/mongoose-auto-increment

    DownloadsWeekly Downloads

    924

    Version

    5.0.35

    License

    MIT

    Unpacked Size

    4.02 kB

    Total Files

    4

    Last publish

    Collaborators

    • types