-
Notifications
You must be signed in to change notification settings - Fork 7
Conversation
Deploy preview for wizard-ui ready! Built with commit caf5d61 |
Codecov Report
@@ Coverage Diff @@
## master #75 +/- ##
==========================================
- Coverage 82.13% 80.51% -1.62%
==========================================
Files 37 38 +1
Lines 1304 1350 +46
Branches 261 273 +12
==========================================
+ Hits 1071 1087 +16
- Misses 230 260 +30
Partials 3 3
Continue to review full report at Codecov.
|
…at/VirtualSelectBox-multi-select * 'master' of https://github.com/xsky-fe/wizard-ui: Fix generics error in tsx. (#84) Feat/notification list (#73) refactor: Update docs code (#83) remove docs yarn.lock Refactor/action use yarn (#77) feat: Github actions (#76) # Conflicts: # docs/content/components/virtual-select-box.mdx # docs/gatsby-config.js # src/interface.tsx
option = { | ||
// @ts-ignore | ||
label: item.name, | ||
// @ts-ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果不想验证 option 类型,可以在定义时显式声明为 any 类型:let option: any;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里是忽略 item(T 泛型)的类型定义
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
之前 T 有默认类型定义倒是可以处理,现在没有默认的
No description provided.