You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a class implements an interface whose method carries /** @deprecated */, and the class stores a property whose declared type is jest.MockedFunction<Interface['method']>, accessing that property (e.g. instance.method.mockReturnValue(...)) is correctly flagged by Eslint, while oxlint fails to flag it.
Case
Shape
Oxlint (typescript/no-deprecated)
ESLint (@typescript-eslint/no-deprecated)
A
Property with @deprecated JSDoc directly on the declaration
Activity