Describe the bug
dprint-plugin-typescript version: 0.85.0
Input Code
client
.send(lookup)
.then((
resp, // $ExpectType Batch<Lookup>
) => console.log(resp))
.catch((
err, // $ExpectType any
) => console.error(err));
Config:
{
"arrowFunction.useParentheses": "preferNone"
}
Expected Output
client
.send(lookup)
.then((
resp, // $ExpectType Batch<Lookup>
) => console.log(resp))
.catch((
err, // $ExpectType any
) => console.error(err));
(or something)
Actual Output
client
.send(lookup)
.then(resp // $ExpectType Batch<Lookup>
=> console.log(resp))
.catch(err // $ExpectType any
=> console.error(err));
Hit roughly 4 times in testing DT with dprint.
Describe the bug
dprint-plugin-typescript version: 0.85.0
Input Code
Config:
{ "arrowFunction.useParentheses": "preferNone" }Expected Output
(or something)
Actual Output
Hit roughly 4 times in testing DT with dprint.