Skip to content

Documentation does not explain what generics represent #22121

Open
@AlexElin

Description

@AlexElin

Documentation Feedback

In docs it would be helpful to have documentaion for declared TS generics.
For example, I open MatDatepickerInputEvent docs and see S and D generics.
And from the docs it's unclear what these S and D represent!

I think it should be documented similar to as Java does it.
For example, a docs of Java's standard type Function<T,​R> contain a section

Type Parameters:
T - the type of the input to the function
R - the type of the result of the function

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2The issue is important to a large percentage of users, with a workaroundarea: dev-infraIssue related to internal project infrastructuredocsThis issue is related to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions