Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
21 lines
283 B
JavaScript
21 lines
283 B
JavaScript
{
|
|
// function parameter
|
|
function f(void) {}
|
|
}
|
|
{
|
|
// arrow function parameter
|
|
(x, void) => {}
|
|
}
|
|
{
|
|
// async arrow function parameter
|
|
async (void, x) => {}
|
|
}
|
|
{
|
|
// object method parameter
|
|
({ f(x, void, y) {} });
|
|
}
|
|
{
|
|
// class method parameter
|
|
class C { m(void,) {} }
|
|
}
|