--- source: crates/biome_formatter_test/src/snapshot_builder.rs info: ts/arrow/arrow_parentheses.ts --- # Input ```ts action => {} (action) => {} (action?) => {} (action: string) => {} (action): void => {} ( action // hhhhhhhh ) => {} ({ action }) => {} ([ action ]) => {} (...action) => {} (action = 1) => {} ``` ============================= # Outputs ## Output 1 ----- Indent style: Tab Indent width: 2 Line ending: LF Line width: 80 Quote style: Double Quotes JSX quote style: Double Quotes Quote properties: As needed Trailing comma: All Semicolons: Always Arrow parentheses: Always Bracket spacing: true Bracket same line: false Attribute Position: Auto ----- ```ts (action) => {}; (action) => {}; (action?) => {}; (action: string) => {}; (action): void => {}; ( action, // hhhhhhhh ) => {}; ({ action }) => {}; ([action]) => {}; (...action) => {}; (action = 1) => {}; ``` ## Output 2 ----- Indent style: Tab Indent width: 2 Line ending: LF Line width: 80 Quote style: Double Quotes JSX quote style: Double Quotes Quote properties: As needed Trailing comma: All Semicolons: Always Arrow parentheses: As needed Bracket spacing: true Bracket same line: false Attribute Position: Auto ----- ```ts action => {}; action => {}; (action?) => {}; (action: string) => {}; (action): void => {}; ( action, // hhhhhhhh ) => {}; ({ action }) => {}; ([action]) => {}; (...action) => {}; (action = 1) => {}; ```