@types/mongoose-auto-increment
@types/mongoose-auto-increment
npm i @types/mongoose-auto-increment
@types/mongoose-auto-increment

@types/mongoose-auto-increment

The repository for high quality TypeScript type definitions.

by DefinitelyTyped

5.0.35 (see all)License:MITTypeScript:Built-In
npm i @types/mongoose-auto-increment
Readme

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.

Downloads/wk

946

GitHub Stars

40.9K

LAST COMMIT

7mos ago

MAINTAINERS

1

CONTRIBUTORS

17,572

OPEN ISSUES

635

OPEN PRs

202
VersionTagPublished
5.0.35
latest
5mos ago
5.0.35
ts4.7
5mos ago
5.0.35
ts4.6
5mos ago
5.0.35
ts4.8
5mos ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate