Declare the following code:
export interface Order {
id?: number;
petId?: number;
quantity?: number;
shipDate?: string;
/**
* Order Status
*/
status?: OrderStatus;
complete?: boolean;
}
The result is:
export interface Order {
id?: number;
petId?: number;
quantity?: number;
shipDate?: string;
- /**
- * Order Status
- */
status?: OrderStatus;
complete?: boolean;
}
I want to keep the original comments in the declaration code obtained using oxc.isolatedDeclaration. Are there plans to add a removeComments option in IsolatedDeclarationsOptions similar to the tsconfig?
Declare the following code:
The result is:
export interface Order { id?: number; petId?: number; quantity?: number; shipDate?: string; - /** - * Order Status - */ status?: OrderStatus; complete?: boolean; }I want to keep the original comments in the declaration code obtained using
oxc.isolatedDeclaration. Are there plans to add aremoveCommentsoption inIsolatedDeclarationsOptionssimilar to thetsconfig?