dprint-plugin-typescript
dprint-plugin-typescript copied to clipboard
Option `jsxExpressionContainer.spaceSurroundingExpression` adds spaces between multiple braces
When using jsxExpressionContainer.spaceSurroundingExpression: true the formatter adds spaces between multiple braces.
dprint-plugin-typescript version: 0.88.8.wasm
Input Code
<MyComponent myProp={{value: true}} />
<MySecondComponent myProp={[{value: true}]} />
Expected Output
<MyComponent myProp={{ value: true }} />
<MySecondComponent myProp={[{ value: true }]} />
Actual Output
<MyComponent myProp={ { value: true } } />
<MySecondComponent myProp={ [ { value: true } ] } />