-
-
Notifications
You must be signed in to change notification settings - Fork 38
Closed as not planned
Labels
enhancementNew feature or requestNew feature or request
Description
Clear and concise description of the problem
Currently the /** @deprecated */ comment put on the export specifier is removed in the output. This changes the behavior on the editor, as the strikethrough won't be shown if it's removed.
Input:
export { /** @deprecated */ parseAst } from 'rolldown/parseAst';Current dts Output:
import { parseAst } from "rolldown/parseAst";
export { parseAst };reproduction: https://stackblitz.com/edit/rolldown-rolldown-starter-stackblitz-xbpme4rf?file=dist%2Finput.d.ts
Suggested solution
Output the dts as:
import { parseAst } from "rolldown/parseAst";
export { /** @deprecated */ parseAst };Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request