Skip to content

Docs show "unnamed 0" for destructured function parameters #50

@bjuppa

Description

@bjuppa

The generated docs have trouble picking up the parameter names when destructuring function parameters. This function declaration:

export function isLeapYear({ year }: SloppyDate): boolean { ... }

...looks like this in docs:

isLeapYear(unnamed 0: SloppyDate): boolean

Searching for }: in the codebase reveals the problematic functions, in 16 files at the time of writing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationhelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions