I am currently implementing https://www.npmjs.com/package/recompose in my project
To make Table accept a generic "T", how can I modify the type signature so that
compose<Props<T>, CompProps<T>>
will be properly satisfied?
I have made several attempts without success:
export const Table<T> = ..
.
export const Table = compose<Props<T>, CompProps<T>>(
setDisplayName('Grid'),
injectSheet(styles)
)(TableComp);
The error I am encountering is:
"Cannot find name 'T'