diff --git a/crates/oxc_isolated_declarations/tests/fixtures/class.ts b/crates/oxc_isolated_declarations/tests/fixtures/class.ts index 00b29473a6d40..cd5a85d7113c7 100644 --- a/crates/oxc_isolated_declarations/tests/fixtures/class.ts +++ b/crates/oxc_isolated_declarations/tests/fixtures/class.ts @@ -20,29 +20,17 @@ export abstract class Qux { } export class Baz { - /** - * Just a comment - */ + /** Just a comment */ readonly prop1 = "some string"; - /** - * Just a comment - */ + /** Just a comment */ prop2 = "another string"; - /** - * Just a comment - */ + /** Just a comment */ private prop3 = "yet another string"; - /** - * Just a comment - */ + /** Just a comment */ private prop4(): void {} - /** - * Just a comment - */ + /** Just a comment */ private static prop5 = "yet another string"; - /** - * Just a comment - */ + /** Just a comment */ private static prop6(): void {} } diff --git a/crates/oxc_isolated_declarations/tests/snapshots/class.snap b/crates/oxc_isolated_declarations/tests/snapshots/class.snap index b2eb68af5854c..6087ed6875691 100644 --- a/crates/oxc_isolated_declarations/tests/snapshots/class.snap +++ b/crates/oxc_isolated_declarations/tests/snapshots/class.snap @@ -21,29 +21,17 @@ export declare abstract class Qux { baz(): void; } export declare class Baz { - /** - * Just a comment - */ + /** Just a comment */ readonly prop1 = "some string"; - /** - * Just a comment - */ + /** Just a comment */ prop2: string; - /** - * Just a comment - */ + /** Just a comment */ private prop3; - /** - * Just a comment - */ + /** Just a comment */ private prop4; - /** - * Just a comment - */ + /** Just a comment */ private static prop5; - /** - * Just a comment - */ + /** Just a comment */ private static prop6; } export declare class Boo {