--- source: crates/biome_formatter_test/src/snapshot_builder.rs info: ts/parenthesis.ts --- # Input ```ts const a = (c && b) as boolean; const a = (c && b) as boolean; const a = !(c && b) as boolean; // typeof operator precedence type T1 = typeof obj[number]; type T2 = (typeof obj)[number]; type T3 = keyof typeof obj[number]; type T4 = keyof (typeof obj)[number]; type T5 = (keyof typeof obj)['toString']; ``` ============================= # 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 const a = (c && b) as boolean; const a = ((c && b)) as boolean; const a = !(c && b) as boolean; // typeof operator precedence type T1 = (typeof obj)[number]; type T2 = (typeof obj)[number]; type T3 = keyof (typeof obj)[number]; type T4 = keyof (typeof obj)[number]; type T5 = (keyof typeof obj)["toString"]; ```