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

1.0.7 • 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: DefinitelyTyped <https://github.com/DefinitelyTyped>
// 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: Wed, 15 Feb 2023 19:32:46 GMT
  • Dependencies: @types/mongoose
  • Global values: none

Credits

These definitions were written by DefinitelyTyped.

Keywords

none

Install

DownloadsWeekly Downloads

6,390

Version

1.0.7

License

MIT

Unpacked Size

3.83 kB

Total Files

5

Last publish

Collaborators

  • types