docgeni / docgeni

📖 A modern, powerful and out of the box documentation generator for Angular components lib and markdown docs.(现代化的、强大的、开箱即用的 Angular 组件文档生成工具)

Home Page:https://docgeni.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When the default value of a boolean type property is false, it should not be recognized as -

minlovehua opened this issue · comments

布尔类型的属性的默认值识别:
能识别到  @Input() @InputBoolean() thyAllowClear = true;  默认值是 true。 没问题。
识别不到  @Input() @InputBoolean() thyAutoFocus = false;  默认值是 false。 在API文档中默认值会展示成 - ,实际应该展示 false

这个是组件库吗? 我记得已经修复了的

是基础组件库。刚刚看了下:是因为目前组件库的docgeni还在 ~2.1.1 所以没好,等基础组件库升到 2.2.0 就好了。

2.1.1其实已经修复了,估计你没有重新安装依赖