Skip to content

JSDOC for enums #273

@MagMar94

Description

@MagMar94

C# documentation on enums are missing.

An example:

public enum Coffee
{
    /// <summary>
    /// A regular filter coffee.
    /// </summary>
    Black = 1,
    /// <summary>
    /// A coffee with one or two espresso shots and topped with hot water.
    /// </summary>
    Americano = 2
}
export enum Coffee
{
    Black = 'Black',
    Americano = 'Americano'
}

The documentation of the types is not included when generating the enum. I would expect something like this:

export enum Coffee
{
    /**
    * A regular filter coffee.
    */
    Black = 'Black',
    /**
    * A coffee with one or two espresso shots and topped with hot water.
    */
    Americano = 'Americano'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions