fix: types

This commit is contained in:
TrèsAbhi committed 2024-06-25 20:05:41 -05:00
1 parent 8b082ed31f
commit 3767f3e51e
2 files changed
+3 -1

No files matched your search

@@ -30,7 +30,7 @@ import { TankCard } from '../TankCard';
import { TankCardWrapper } from '../TankCardWrapper';
import { treeTypeOrder } from './constants';
type TankSearchProps = FlexProps & {
type TankSearchProps = Omit<FlexProps, 'onSelect'> & {
compact?: boolean;
onSelect?: (tank: TankDefinition) => void;
onSelectAll?: (tanks: TankDefinition[]) => void;