Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: deprecation(s) in MockInstance causing typescript-eslint to report a no-deprecated error #10217

Open
jits opened this issue Oct 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jits
Copy link

jits commented Oct 16, 2024

Description of the bug

When migrating from typescript-eslint ^8.3.0 -> ^8.9.0 I started getting the no-deprecated error when using MockInstance.scope().

I reported this on the typescript-eslint repo and they confirm it's expected behaviour, due to the way MockInstance 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 using MockInstance.scope().

@jits jits added the bug Something isn't working label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant