You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The typescript definition for ReactDataTableComponentProps returns rowItem as any, which is a flexible default.
But using T is more correct and offers code insight.
Describe the solution you'd like
ReactDataTableComponentProps possibly but not necessarily defaulting to any
Is your feature request related to a problem? Please describe.
The typescript definition for ReactDataTableComponentProps returns
rowItem
asany
, which is a flexible default.But using
T
is more correct and offers code insight.Describe the solution you'd like
ReactDataTableComponentProps possibly but not necessarily defaulting to
any
Describe alternatives you've considered
One could create a wrapper to provide the behavior
Additional context
any
in Typescript is a v1.0 quickie. It defeats the purpose of Typescript. V1.1 should imho remove it.The text was updated successfully, but these errors were encountered: