oxc/crates/oxc_isolated_declarations/tests
michaelm 8e80f593fd
fix(isolated_declarations): Class properties should still be lifted from private constructors (#4934)
Before, this
```ts
export class Bux {
  private constructor(
    public readonly prop: number = 0,
    private readonly prop2: number = 1,
    readonly prop3: number = 1,
  ) {}
}
```
would be emitted as 
```ts
export declare class Bux {
	private constructor();
}
```

Now it will be emitted as
```ts
export declare class Bux {
	readonly prop: number;
	private readonly prop2;
	readonly prop3: number;
	private constructor();
}
```

Co-authored-by: MichaelMitchell-at <=>
2024-08-16 21:43:44 +08:00
..
deno chore(isolated-declarations): run integration tests only once 2024-06-24 00:24:16 +08:00
fixtures fix(isolated_declarations): Class properties should still be lifted from private constructors (#4934) 2024-08-16 21:43:44 +08:00
snapshots fix(isolated_declarations): Class properties should still be lifted from private constructors (#4934) 2024-08-16 21:43:44 +08:00
mod.rs chore(isolated-declarations): add tests from Deno (#3808) 2024-06-21 10:20:21 +00:00