Skip to content

Commit

Permalink
types: remove model from CastError
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed May 5, 2024
1 parent cecbc44 commit 6ca92be
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion types/error.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ declare module 'mongoose' {
value: any;
path: string;
reason?: NativeError | null;
model?: any;

constructor(type: string, value: any, path: string, reason?: NativeError, schemaType?: SchemaType);
}
Expand Down

0 comments on commit 6ca92be

Please sign in to comment.