Skip to content

Include typedefs in typedocs #1214

@benmccann

Description

@benmccann

Problem

We declare some types using typedefs. You can see several examples of methods using this typedef in the same file. Example typedef:
https://github.com/chartjs/Chart.js/blob/0d6c05cca00813b0fb93396ce7b37b637f2e6833/src/core/core.scale.js#L11

However, method parameters in the Typedocs using this typedef appear as any (in this case I'd expect it to appear as Tick).

Suggested Solution

Include typedefs as types in the generated documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedContributions are especially encouragedjsThis issue relates to better TS-in-JS support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions