We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
template class, type arguments, type parameters, inheritance, extends
When a class is extending a template class implementation (using type arguments) the type arguments should be used as types in the sub class.
The sub class is rendered by TypeDoc with the type parameters instead of the type arguments. This was working fine back in version 0.19.2.
Example module:
export class TemplateTester<A, B = number> { public aaa: A; public bbb: B; public aOrb: A | B; public unionAB: string | A | Readonly<A | B> public BaseMethod(param1: A, param2: B): void {} public StaticMethodWithTypeParameters<A, B>(p1: A, p2: B): void {} } export class TemplateTesterSubClass2 extends TemplateTester<number> { }
The text was updated successfully, but these errors were encountered:
60b6506
Shoot... I thought I'd fixed this, I guess the fix only worked for methods. Fixed in 0.20.6, publishing shortly
Sorry, something went wrong.
Thanks for the quick fix. I'll check it out soon.
Looks better now. 👍 I still found a difference and created a new issue #1441 for it.
No branches or pull requests
Search terms
template class, type arguments, type parameters, inheritance, extends
Expected Behavior
When a class is extending a template class implementation (using type arguments) the type arguments should be used as types in the sub class.
Actual Behavior
The sub class is rendered by TypeDoc with the type parameters instead of the type arguments. This was working fine back in version 0.19.2.
Steps to reproduce the bug
Example module:
Environment
The text was updated successfully, but these errors were encountered: