Add generic to CardRow type

squash cardrow type

squash cardrow type
This commit is contained in:
jeffvli 2022-12-24 13:35:27 -08:00
parent 747633fb25
commit 6eb08243b7
4 changed files with 10 additions and 8 deletions

View file

@ -7,7 +7,7 @@ import type { CardRoute, CardRow, LibraryItem, PlayQueueAddOptions } from '/@/re
import { CardDisplayType } from '/@/renderer/types';
interface VirtualGridProps extends Omit<FixedSizeListProps, 'children' | 'itemSize'> {
cardRows: CardRow[];
cardRows: CardRow<any>[];
display?: CardDisplayType;
fetchFn: (options: { columnCount: number; skip: number; take: number }) => Promise<any>;
handlePlayQueueAdd?: (options: PlayQueueAddOptions) => void;