Bug: deprecation(s) in MockInstance
causing typescript-eslint
to report a no-deprecated
error
#10217
Labels
bug
Something isn't working
Description of the bug
When migrating from
typescript-eslint
^8.3.0
->^8.9.0
I started getting theno-deprecated
error when usingMockInstance.scope()
.I reported this on the
typescript-eslint
repo and they confirm it's expected behaviour, due to the wayMockInstance
is declared, and declaration merging going on.An example of the bug
Link: N/A
Expected vs actual behavior
Expected: no linting error.
Actual:
no-deprecated
error when usingMockInstance.scope()
.The text was updated successfully, but these errors were encountered: