🐛 noConfusingVoidType flags function type returning void as error #294
Labels
A-Linter
Area: linter
L-JavaScript
Language: JavaScript and super languages
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
What happened?
Having a typescript function type:
Biome flags this as an error:
"void is only valid as a return type or a type argument in generic type biomelint/nursery/noConfusingVoidType"
Expected result
Function types returning
void
should be ok.Code of Conduct
The text was updated successfully, but these errors were encountered: