Skip to content

Commit

Permalink
undo accidentally committed test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Jul 2, 2024
1 parent c2cdb80 commit 0a43d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/validation.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
declare module 'mongoose' {

type SchemaValidator<T, EnforcedDocType> = ValidateOpts<T, EnforcedDocType>; // RegExp | [RegExp, string] | Function | [Function, string] | ValidateOpts<T, EnforcedDocType> | ValidateOpts<T, EnforcedDocType>[];
type SchemaValidator<T, EnforcedDocType> = RegExp | [RegExp, string] | Function | [Function, string] | ValidateOpts<T, EnforcedDocType> | ValidateOpts<T, EnforcedDocType>[];

interface ValidatorProps {
path: string;
Expand Down

0 comments on commit 0a43d21

Please sign in to comment.