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
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
How about we add an option to the rule to allow generics to be void. It should allow either true for all generics or a string[] whitelist of allowed ones?
Bug Report
Reproduction using TSLint Playground
TypeScript code being linted
with
tslint.json
configuration:default
Actual behavior
After install tslint@5.19.0, tslint reports it. In previous version tslint doesn't report this error.
tslint report
Expected behavior
I think
async function return Promise<void>
is general usage. tslint shouldn't report the error.invalid-void doc seems don't contain this usage.
The text was updated successfully, but these errors were encountered: