Describe the problem
When attempting to display component props or some other type within the Props section of a component's documentation page, and the interface/type alias used extends or joins with another interface/type alias, those members are not parsed and displayed unless they're explicitly written.
Example:
interface ComponentBProps {
propThree: string[];
propFour: number[];
}
interface ComponentAProps extends ComponentBProps {
propOne: string;
propTwo: number;
}
Actual behavior

Expected behavior

Any other information?
Setting a type alias equal to another type (enum, interface, other type alias) also isn't accounted for. This will get complicated fast if type utilities are involved. e.g.
type SomeType = Omit<Pick<SomeOtherType, 'pickedProp'>, 'omittedPropOne' | 'omittedPropTwo'>
The dilemma here is that we have certain capabilities available to us syntactically in our code revolving around types that the documentation-framework is not currently capable of handling.
Describe the problem
When attempting to display component props or some other type within the
Propssection of a component's documentation page, and the interface/type alias used extends or joins with another interface/type alias, those members are not parsed and displayed unless they're explicitly written.Example:
Actual behavior

Expected behavior

Any other information?
Setting a type alias equal to another type (enum, interface, other type alias) also isn't accounted for. This will get complicated fast if type utilities are involved. e.g.
The dilemma here is that we have certain capabilities available to us syntactically in our code revolving around types that the documentation-framework is not currently capable of handling.