mongoose
mongoose copied to clipboard
Type 'DocType' does not satisfy the constraint 'Document<any, any, any>
When it is built by github action, it gives this error.
node_modules/mongoose/index.d.ts:1957:103 - error TS2344: Type 'DocType' does not satisfy the constraint 'Document<any, any, any>'.
1957 type QueryWithHelpers<ResultType, DocType, THelpers = {}, RawDocType = DocType> = Query<ResultType, DocType, THelpers, RawDocType> & THelpers;
Please open a new issue and follow the issue template.