We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 961e591 commit 179a488Copy full SHA for 179a488
types/index.d.ts
@@ -75,7 +75,7 @@ declare module 'mongoose' {
75
76
export function model<T, U, TQueryHelpers = {}>(
77
name: string,
78
- schema?: Schema<T, U, any, TQueryHelpers, any, any>,
+ schema?: Schema<T, any, any, TQueryHelpers, any, any>,
79
collection?: string,
80
options?: CompileModelOptions
81
): U;
0 commit comments