Closed Akkuma closed 1 week ago
I think this is a misunderstanding of how you can use TS generics.
This will never work because the type can be overridden, so TS doesn't guarantee any properties will be available.
I know it seems like it should work, it just won't in current TS.
TanStack Table version
v8.15.3
Framework/Library version
React
Describe the bug and the steps to reproduce it
AccessorFn
works, butDeepKeys
appears to fail to work as expected. By creating a fake implementation ofcreateColumnHelper
I isolated the issue down to however/whatever is happening in there.Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://stackblitz.com/edit/vitejs-vite-feb4sf?file=public%2Fproblem.ts&view=editor
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
Maybe, I'll investigate and start debugging
Terms & Code of Conduct