Commit 83858f6
feat: 补充schema工具 (#26)
* feat: 新增schema工具
* fix: 修复了getObjectType中对properties的错误判断 (#29)
* fix: 修复了getObjectType中对properties的错误判断
* feat: 抽离了isObject方法
* feat: 通过Object.keys遍历替代forin,防止遍历到原型链上的键
---------
Co-authored-by: cmtlyt <cmtlyt@163.com>
Co-authored-by: xiaoxin <130760663+hahaXiaoxin@users.noreply.github.com>1 parent 9fad2f6 commit 83858f6
2 files changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments