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

1.0.9 • Public • Published

Installation

npm install --save @types/mongoose-unique-validator

Summary

This package contains type definitions for mongoose-unique-validator (https://github.com/blakehaswell/mongoose-unique-validator#readme).

Details

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

index.d.ts

import { Schema } from "mongoose";

export = mongooseUniqueValidator;

declare function mongooseUniqueValidator(schema: Schema, options?: any): void;

declare namespace mongooseUniqueValidator {
}

Additional Details

Credits

These definitions were written by .

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @types/mongoose-unique-validator

    Weekly Downloads

    5,050

    Version

    1.0.9

    License

    MIT

    Unpacked Size

    3.04 kB

    Total Files

    5

    Last publish

    Collaborators

    • types