oxc/crates/oxc_isolated_declarations
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
..
examples feat(codegen)!: new code gen API (#3740) 2024-06-18 15:50:12 +00:00
src fix(isolated_declarations): Class properties should still be lifted from private constructors (#4934) 2024-08-16 21:43:44 +08:00
tests fix(isolated_declarations): Class properties should still be lifted from private constructors (#4934) 2024-08-16 21:43:44 +08:00
Cargo.toml Release crates v0.24.2 (#4841) 2024-08-12 16:02:07 +08:00
CHANGELOG.md Release crates v0.24.0 (#4749) 2024-08-08 14:00:57 +08:00