Classes don't use type information from interface?
If an interface supplies type information, is the implementation required to repeat it?
Class:


Interface:


Additionally, the description isn't loaded in (just says inheritdoc as if there's nothing in the implementation to show).
If I keep all the types except the return value, the description shows again:


Perhaps this issue would be more clearly named, "Add support the @inheritdoc tag, a la JSDoc".
+1
I need this feature desperately as well. Important to mention that it is not only related to interface -> class inheritance, but also to interface -> interface and class -> class.
I haven't managed to implement this feature in my fork. It looks like TypePlugin doesn't resolve overwrites type for fields and methods very well, or does it after ImplementsPlugin processing. Only constructors are resolved properly.
TypeDoc's behavior is consistent with TypeScript's, yes, the implementing class must repeat type information from the interface.
interface Interface {
method(a: string, b: number): void
}
class Class implements Interface {
method(a, b) {
b.substring(1, 2) // but wait, a is the string! TS doesn't know since the parameters aren't typed.
}
}