Skip to content

API docs are missing info on generic type parameters #57183

@daiscog

Description

@daiscog

Describe the problem that you experienced

I want to quickly look up whether a given class has any generic type parameters and if so, what the defaults of those are.

For example, I should be able to quickly see that the class FormGroup is actually defined as FormGroup<TControl = any>.

However, generics are not currently part of the displayed API docs. This can be confusing because the documented class members may reference the generic type name (e.g., in this case TControl) with no clear indication of where that type name originates.

Enter the URL of the topic with the problem

https://angular.dev/api/forms/FormGroup

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: docsRelated to the documentation

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions