Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
types: remove model from CastError
  • Loading branch information
vkarpov15 committed May 5, 2024
commit 6ca92be66ab93128a42d5380a61634539ea2d77a
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