diff --git a/src/components/Table.tsx b/src/components/Table.tsx index 73193ee8..df63ffef 100644 --- a/src/components/Table.tsx +++ b/src/components/Table.tsx @@ -51,19 +51,12 @@ export interface TableProps extends GapProps { } export type TableRowProps = GapProps & - Partial & - ( - | { - interactive?: false | never; - focused?: never; - } - | { - /** Apply interactive styles: hover */ - interactive: true; - /** Prop that mark current row as focused, ex. for keyboard navigation */ - focused: boolean; - } - ); + Partial & { + /** Apply interactive styles: hover */ + interactive?: boolean; + /** Prop that mark current row as focused, ex. for keyboard navigation */ + focused?: boolean; + }; const mapRuleSet: { [key in AlignProps['align'] | JustifyProps['justify']]: string } = { baseline: 'baseline',