mongoose icon indicating copy to clipboard operation
mongoose copied to clipboard

Type 'DocType' does not satisfy the constraint 'Document<any, any, any>

Open komahori opened this issue 5 years ago • 1 comments

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;

komahori avatar Jul 08 '21 07:07 komahori

Please open a new issue and follow the issue template.

vkarpov15 avatar Jul 11 '21 20:07 vkarpov15