Skip to content
New issue

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

isolatedDeclaration strips docstrings #3915

Closed
MichaelMitchell-at opened this issue Jun 26, 2024 · 1 comment
Closed

isolatedDeclaration strips docstrings #3915

MichaelMitchell-at opened this issue Jun 26, 2024 · 1 comment
Assignees
Labels
C-bug Category - Bug

Comments

@MichaelMitchell-at
Copy link

MichaelMitchell-at commented Jun 26, 2024

> require('oxc-transform').isolatedDeclaration("hello.ts", `
... /**
...  * Docstring
...  */
... export function foo(): number { return 42 }
... `)
{ sourceText: 'export declare function foo(): number;\n', errors: [] }
@MichaelMitchell-at MichaelMitchell-at added the C-bug Category - Bug label Jun 26, 2024
@Boshen Boshen self-assigned this Jun 26, 2024
@Boshen
Copy link
Member

Boshen commented Jun 30, 2024

Duplicate of #3906

@Boshen Boshen marked this as a duplicate of #3906 Jun 30, 2024
@Boshen Boshen closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category - Bug
Projects
None yet
Development

No branches or pull requests

2 participants