dumi icon indicating copy to clipboard operation
dumi copied to clipboard

自动生成表格,忽略继承的属性

Open StreakingMan opened this issue 2 years ago • 7 comments
trafficstars

Question

当有继承时,生成的API表格会包含所有的属性,当前版本(2.1.19)是否有临时解决方案,不显示继承的属性?

Sample Code

StreakingMan avatar Apr 11 '23 07:04 StreakingMan

同问

guowenfh avatar Apr 18 '23 02:04 guowenfh

same issue image

giscafer avatar May 25 '23 03:05 giscafer

same issue image

提供一个思路,暂时在 .dumi/theme/builtins 目录下,直接把 https://github.com/umijs/dumi/blob/de3ad27916129d0bffffad43ccceaf657c228384/src/client/theme-default/builtins/API/index.tsx#L150 搬过去改一下自己做过滤

xuanhen2013 avatar Jun 16 '23 07:06 xuanhen2013

有没有考虑过把 API 解析能力切回 react-docgen-typescript ?

guowenfh avatar Jun 21 '23 09:06 guowenfh

有没有考虑过把 API 解析能力切回 react-docgen-typescript ?

好东西, 研究研究

Wxh16144 avatar Jul 06 '23 11:07 Wxh16144

有没有考虑过把API解析能力切回react-docgen-typescript?

好东西,研究

研究出来了吗

97vack avatar Jul 26 '23 03:07 97vack

有没有考虑过把API解析能力切回react-docgen-typescript?

好东西,研究

研究出来了吗

没有,又菜又忙...

Wxh16144 avatar Dec 22 '23 02:12 Wxh16144