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
The line should be columns: {[CName in Extract< keyof Row, string >]: ColumnDefinition<CName, Row[CName]>};
That was a breaking change in Typescript some time in the 3.8/3.9 versions.
Just switched over to using this on a new project, and there's a typescript error coming out of this module, from
lib/types.d.ts
.as that keyof is inferred as
'string' | 'number' | 'symbol'
, andColumnDefinition
is expecting just a string for that generic.I can solving it temporarily by telling typescript to ignore errors in node_modules, but that's not ideal.
The text was updated successfully, but these errors were encountered: