Fix Types for QueryMethod inheritance and add example to docs #603
Labels
docs
This issue is about Documentation
help wanted
Any help would be appreciated
tests
This Issue is about tests | This PR is modifying tests
As can be seen here:
typegoose/test/tests/shouldRun.test.ts
Line 478 in 8e7597d
The Types for QueryMethods with inheritance do not work correctly (runtime is fine)
Also, add documentation about QueryMethod inheritance
Note: i already tried changing the types, but i could not get it to work (tried version combination:
typegoose 9.0 beta | mongoose 6.0.2 | typescript 4.4.2
The text was updated successfully, but these errors were encountered: