We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given
export class Boo { constructor( public readonly prop: number = 0, private readonly prop2: number = 1, readonly prop3: number = 1, ) {} }
Oxc generates:
export declare class Boo { readonly prop: number; private readonly prop2: number; readonly prop3: number; constructor(prop?: number, prop2?: number, prop3?: number); }
TSC:
export declare class Boo { readonly prop: number; private readonly prop2; readonly prop3: number; constructor(prop?: number, prop2?: number, prop3?: number); }
The text was updated successfully, but these errors were encountered:
If param.accessibility is private we can give type_annotation as None
param.accessibility
type_annotation
None
oxc/crates/oxc_isolated_declarations/src/class.rs
Lines 234 to 242 in 78c66d3
Sorry, something went wrong.
No branches or pull requests
Given
Oxc generates:
TSC:
The text was updated successfully, but these errors were encountered: