TanStack Table version
8.21.2
Framework/Library version
18.3.0
Describe the bug and the steps to reproduce it
When trying to write helper functions that accept any table, Table<unknown> doesn't work as a parameter type, as specific table instances aren't assignable to it. This has been fairly easy to work around with making helpers generic, however it's still very unexpected every time.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAbzjAnmApnAKgQwEYA26ANHAMZTo4zq6GYC+cAZlBCHAOQACMOAdgGc+ZANYB6SjjIwAtH3qcAUEqLwArv1H8IAd350iALmz4iAHk3a9-AHwBuJWQhD41-YfQnP5pAAt0AgIIE05daAIAE044Bls4AF5yKRpPAAoEBgBKFSsdDzNMJPcDQqA
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
None
Terms & Code of Conduct
TanStack Table version
8.21.2
Framework/Library version
18.3.0
Describe the bug and the steps to reproduce it
When trying to write helper functions that accept any table,
Table<unknown>doesn't work as a parameter type, as specific table instances aren't assignable to it. This has been fairly easy to work around with making helpers generic, however it's still very unexpected every time.Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://www.typescriptlang.org/play/?#code/JYWwDg9gTgLgBAbzjAnmApnAKgQwEYA26ANHAMZTo4zq6GYC+cAZlBCHAOQACMOAdgGc+ZANYB6SjjIwAtH3qcAUEqLwArv1H8IAd350iALmz4iAHk3a9-AHwBuJWQhD41-YfQnP5pAAt0AgIIE05daAIAE044Bls4AF5yKRpPAAoEBgBKFSsdDzNMJPcDQqA
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
None
Terms & Code of Conduct