-
-
Notifications
You must be signed in to change notification settings - Fork 50.8k
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
fix: Table selections type when use Table.SELECTION_ALL or Table.SELECTION_INVERT #23462
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 260f98e:
|
Codecov Report
@@ Coverage Diff @@
## master #23462 +/- ##
=======================================
Coverage 98.48% 98.48%
=======================================
Files 364 364
Lines 7320 7320
Branches 2007 2008 +1
=======================================
Hits 7209 7209
Misses 111 111
Continue to review full report at Codecov.
|
Could you add type test in https://github.com/ant-design/ant-design/blob/master/components/table/__tests__/type.test.tsx ? |
i don't know how, need your help |
🤔 This is a ...
💡 Background and solution
when use typescript to use Table selections,it will show me an error because of Table.SELECTION_ALL or Table.SELECTION_INVERT is a string type
📝 Changelog
☑️ Self Check before Merge