Replies: 5 comments 14 replies
-
Having the same issue... |
Beta Was this translation helpful? Give feedback.
-
Having same issues using typescript |
Beta Was this translation helpful? Give feedback.
-
Having the same issue... |
Beta Was this translation helpful? Give feedback.
-
Did you find https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-table/Readme.md (I realize that it's rather buried). Anyway, I'd guess that your |
Beta Was this translation helpful? Give feedback.
-
A year later, this is still an issue. The entire typings definition is installed, with nothing removed, per the readme referenced above. Other parameters — like This issue is specific to somehow incorrect typing for |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I recently moved my react table to Typescript and fixed most of problems but not this one.
Property 'setColumnOrder' does not exist on type 'TableInstance<object>'.ts(2339)
const { getTableProps, getTableBodyProps, headerGroups, rows, prepareRow, allColumns, setColumnOrder, state } = useTable( { columns, data, defaultColumn }, useFilters, useSortBy, useColumnOrder )
Version :
"react-table": "^7.5.0",
"@types/react-table": "^7.0.23",
How to fix this ?
Anyone ? :(
Beta Was this translation helpful? Give feedback.
All reactions