oxc icon indicating copy to clipboard operation
oxc copied to clipboard

JSDoc is missing when using `isolatedDeclaration`

Open sxzz opened this issue 7 months ago • 1 comments

When using isolatedDeclaration from oxc-transform, JSDoc is missing.

Source:

export interface Options {
  include?: FilterPattern
  exclude?: FilterPattern
  enforce?: 'pre' | 'post' | undefined
  outDir?: string
  /** @default ts */
  outExt?: string
}

Compiled:

export interface Options {
	include?: FilterPattern;
	exclude?: FilterPattern;
	enforce?: (('pre') | ('post') | (undefined));
	outDir?: string;
	outExt?: string;
}

sxzz avatar Jun 25 '24 19:06 sxzz