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
Hi,
I'd like to add a rule that requires type parameters to vi.fn() because otherwise it mocks a function with any as parameters and return value. I am at the moment not sure if there are any other functions that this rule should apply to similarly.
I'm willing to make a PR if this is greenlit by the maintainers.
The text was updated successfully, but these errors were encountered:
Hi,
I'd like to add a rule that requires type parameters to
vi.fn()
because otherwise it mocks a function withany
as parameters and return value. I am at the moment not sure if there are any other functions that this rule should apply to similarly.I'm willing to make a PR if this is greenlit by the maintainers.
The text was updated successfully, but these errors were encountered: