You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Default values for type parameters are used as type arguments.
Actual Behavior
When a class is extending the binding of a template class with some type parameters getting no type arguments, the default values for those type parameters are not used and instead the type parameters are shown on the page of the class, which makes the class look generic while it isn't.
Search terms
type-parameters, type-arguments
Expected Behavior
Default values for type parameters are used as type arguments.
Actual Behavior
When a class is extending the binding of a template class with some type parameters getting no type arguments, the default values for those type parameters are not used and instead the type parameters are shown on the page of the class, which makes the class look generic while it isn't.
Example:
Results in a typedoc page for
ConreteClass
whereConreteClass
has a type parameterB
, instead of it being derived fromTemplateClass<string, any>
.Steps to reproduce the bug
Create the documentation for the code above.
Environment
The text was updated successfully, but these errors were encountered: