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.