Skip to content

Commit 52ad252

Browse files
committed
Update index.d.ts
1 parent 8503c5e commit 52ad252

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ type Paths = {
2525
}
2626

2727
declare function mongooseValidationErrorHandler(error: Error, options?: { messages?: ValidatorMessages, paths?: Paths }): Error;
28-
declare namespace mongooseValidationErrorHandler {}
28+
declare namespace mongooseValidationErrorHandler {}
29+
30+
export = mongooseValidationErrorHandler;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mongoose-validation-error-message-handler",
3-
"version": "1.1.0",
3+
"version": "1.1.2",
44
"description": "Mongoose Validation Error Message Handler",
55
"main": "index.js",
66
"files": [

0 commit comments

Comments
 (0)