--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: ts/assignment/property_assignment_comments.ts --- # Input ```ts class Test { prop1 = /* leading */ 1; prop2 = // test 2; prop3 // test = 3; prop4 // test = 4; prop5 // test = 5 // a prop6 /* leading */ = 6 // c prop7 = /* leading */ 7 // c prop8 /* comment */ = 8; prop9: string // 1 = // 2 3; prop10: any // 1 = // 2 { object: 3} } ``` ============================= # Outputs ## Output 1 ----- Indent style: Tab Line width: 80 Quote style: Double Quotes Quote properties: As needed Trailing comma: All Semicolons: Always ----- ```ts class Test { prop1 = /* leading */ 1; prop2 = 2; // test prop3 = 3; // test prop4 = 4; // test prop5 = 5; // test // a prop6 = /* leading */ 6; // c prop7 = /* leading */ 7; // c prop8 /* comment */ = 8; prop9: string = 3; // 1 // 2 prop10: any = // 1 // 2 { object: 3 }; } ```