You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/05/09 22:03:55 UTC
[GitHub] [incubator-superset] mfyuce commented on pull request #9611: tablecollection ts fix for build
mfyuce commented on pull request #9611:
URL: https://github.com/apache/incubator-superset/pull/9611#issuecomment-626241261
Hi,
Thank you for the heads up.
Removed all `//@ts-ignore` entries and added
```
hidden?: boolean;
sortable?: boolean;
cellProps?: any;
```
to `ColumnInstance` inside `git_root/superset-frontend/src/types/react-table-config.d.ts`. Tried a npm run build and it worked the same as it did with with `ts-ignores`.
PS: As long as I see `react-table` has same names in its project like, they have `isVisible` instead of `hidden`, `canSort` instead of `sortable` etc. Why not use them in superset?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org