Skip to content

Formatting of interface generic method is unclear. #38

@lukaswelinder

Description

@lukaswelinder

I'd be happy to sort this out myself and make a PR, but I'm a bit lost as to what part of the codebase is causing this issue.

The following is related to github MD, I have not tried reproducing this in other styles.

When parsing an interface's method that is generic I get the following:

**reduce**R(reducer: *`function`*, initialReduction?: *`R`*, context?: *`any`*): `R`

The expected output should be something like this:

**reduce**<`R`>(reducer: *`function`*, initialReduction?: *`R`*, context?: *`any`*): `R`

I'd appreciate any input, or at least a nudge in the right direction, thanks.

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