-
Notifications
You must be signed in to change notification settings - Fork 26
feat: basic implements #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1 +/- ##
===========================================
+ Coverage 97.05% 100.00% +2.94%
===========================================
Files 2 1 -1
Lines 34 66 +32
Branches 22 14 -8
===========================================
+ Hits 33 66 +33
+ Misses 1 0 -1
Continue to review full report at Codecov.
|
加一下 preview https://github.com/afc163/surge-preview |
🎊 PR Preview e7e0bd9 has been successfully built and deployed to https://react-component-segmented-preview-pr-1.surge.sh 🕐 Build time: 191.126s 🤖 By surge-preview |
src/index.tsx
Outdated
function isLabledOption( | ||
option: RawOption | LabeledOption, | ||
): option is LabeledOption { | ||
return option === Object(option); |
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.
好 old school ...
(just comment. No need to change~)
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.
typeof 不够严谨
TODO: