Skip to content

Commit 0a43d21

Browse files
committed
undo accidentally committed test changes
1 parent c2cdb80 commit 0a43d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/validation.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
declare module 'mongoose' {
22

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

55
interface ValidatorProps {
66
path: string;

0 commit comments

Comments
 (0)