The inherited props should appear.
The inherited props don't appear.
For components that wrap other components - like a wrapper around a component from npm that adds some additional functionality - it's common to extend props. Here's an example of wrapping around Col from Ant Design:
import { ColProps } from 'antd/lib/col';
type ColSizeProps = Pick<ColProps, 'lg' | 'md' | 'sm' | 'xl' | 'xs' | 'xxl'>;
interface Props extends ColSizeProps, Pick<ColProps, 'onMouseEnter' | 'onMouseLeave'> {
(extra props here)
}
In the props table in Storybook, only the extra props are appearing. The extended/inherited props are not showing up.
Hello @kaiyoma! I was unable to reproduce this on 0.20.16 and 0.20.18: https://codesandbox.io/s/typedoc-test-forked-nh7fe?file=/src/index.ts
Could it be that you launch generation with --excludeExternals option? Or have Externals checkbox unchecked in API menu?
With this checkbox checked properties seems to be inherited:
Oh man, this is embarrassing, I filed this issue against the absolute wrong project. So sorry about that! typedoc is doing the right thing here. 馃槃