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

    1.0.6 • 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

    // Type definitions for mongoose-unique-validator 1.0
    // Project: https://github.com/blakehaswell/mongoose-unique-validator#readme
    // Definitions by: Steve Hipwell <https://github.com/stevehipwell>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    // Minimum TypeScript Version: 4.1
    
    import { Schema } from "mongoose";
    
    export = mongooseUniqueValidator;
    
    declare function mongooseUniqueValidator(schema: Schema, options?: any): void;
    
    declare namespace mongooseUniqueValidator {
    }

    Additional Details

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

    Credits

    These definitions were written by Steve Hipwell.

    Keywords

    none

    Install

    npm i @types/mongoose-unique-validator

    DownloadsWeekly Downloads

    5,621

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    3.81 kB

    Total Files

    4

    Last publish

    Collaborators

    • types