We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
require-mock-type-parameters
See https://github.com/FloEdelmann/vue-ts-types/pull/802/files#diff-b762127509fe80fbe15d39c56430d58dcdc3b2a8b267a4815e0ee4683698ccd7:
This is wrongly reported by the new vitest/require-mock-type-parameters rule:
const validator3 = vi .fn<() => string | undefined>() .mockReturnValue('some error message');
These are both not reported:
const validator3 = vi .fn<() => string | undefined>(() => 'some error message');
const validator3 = vi .fn<() => string | undefined>();
The text was updated successfully, but these errors were encountered:
Hmm, strange, let me take a look...
Sorry, something went wrong.
Thanks, I created a PR with a fix!
Successfully merging a pull request may close this issue.
See https://github.com/FloEdelmann/vue-ts-types/pull/802/files#diff-b762127509fe80fbe15d39c56430d58dcdc3b2a8b267a4815e0ee4683698ccd7:
This is wrongly reported by the new vitest/require-mock-type-parameters rule:
These are both not reported:
The text was updated successfully, but these errors were encountered: