浏览代码

[doc]For stdf 0.4.2

dufu1991 2 年之前
父节点
当前提交
ecde9c2be7
共有 4 个文件被更改,包括 10 次插入2 次删除
  1. 4 0
      doc/guide/changelog.md
  2. 4 0
      doc/guide/changelog_en.md
  3. 1 1
      doc/guide/future.md
  4. 1 1
      doc/guide/future_en.md

+ 4 - 0
doc/guide/changelog.md

@@ -1,3 +1,7 @@
+## 0.4.2
+
+- 组件源码的 Props 按照 JSDoc 规范增加类型注释,使用组件时将获得更好的 IDE 提示。可开启 checkJs 检测或使用 TypeScript 做类型检测。
+
 ## 0.4.1
 
 - 将仓库由 dufu1991/stdf 迁移至 any-tdf/stdf。

+ 4 - 0
doc/guide/changelog_en.md

@@ -1,3 +1,7 @@
+## 0.4.2
+
+- Component source code Props adds type annotation according to JSDoc specification, and you will get better IDE prompts when using the component. You can turn on checkJs detection or use TypeScript for type detection.
+
 ## 0.4.1
 
 - The repository has been migrated from dufu1991/stdf to any-tdf/stdf.

+ 1 - 1
doc/guide/future.md

@@ -12,7 +12,7 @@
 
 ## 优化 👏
 
-- [ ] 按照 JSDoc 规则完善源码类型注释,对 Props 进行约束,也方便 IDE 提示。
+- [x] 按照 JSDoc 规则完善源码类型注释,对 Props 进行约束,也方便 IDE 提示。
 - [ ] Skeleton 骨架屏组件增加更多的动画效果。
 
 ---

+ 1 - 1
doc/guide/future_en.md

@@ -12,7 +12,7 @@
 
 ## Improvements 👏
 
-- [ ] Improve source code type annotations according to JSDoc rules, constrain Props, and facilitate IDE prompts.
+- [x] Improve source code type annotations according to JSDoc rules, constrain Props, and facilitate IDE prompts.
 - [ ] Increased the number of animation effects in the Skeleton screen component.
 
 ---