-
Notifications
You must be signed in to change notification settings - Fork 1.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(typescript): fixing DataTable sortRow type #18073
base: main
Are you sure you want to change the base?
Conversation
All contributors have signed the DCO. |
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
I have read the DCO document and I hereby sign the DCO. |
Closes #18063
Changelog
Changed
Testing / Reviewing
Create a simple Datatable with a custom sorting function using the
sortRow
property, and use thekey
andcompare
properties of the 3rg argument?Here is an example of the work around needed today, the cast
as DataTableProps<Item, string[]>['sortRow']
should not be needed once the fix is integrated