Skip to content

JSDoc comments are not produced in generated declaration files #13209

@only-cliches

Description

@only-cliches

I looked high and low for this issue having already been brought up OR an option in the typescript compiler to control this behavior.

Basically, my code has JSDocs all over it explaining how everything works, but when the typescript compiler generates the d.ts files ALL the JSDocs are stripped away. I get definition files that describe the classes, methods, and interfaces but nothing else. No documentation.

I would like to see an option to tell the TS compiler to leave the comments in the definition files it generates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Working as IntendedThe behavior described is the intended behavior; this is not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions