Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove unused types

dominik-zeglen762a9bbf7263
diff --git a/saleor/static/dashboard-next/types.ts b/saleor/static/dashboard-next/types.ts
index 1f7e972650..da87087a3b 100644
--- a/saleor/static/dashboard-next/types.ts
+++ b/saleor/static/dashboard-next/types.ts
@@ -15,17 +15,12 @@ export interface ListProps {
onPreviousPage: () => void;
onRowClick: (id: string) => () => void;
}
-export type ListAction = (ids: string[]) => void;
export interface ListActions {
toggle: (id: string) => void;
isChecked: (id: string) => boolean;
selected: number;
toolbar: React.ReactNode | React.ReactNodeArray;
}
-export type ListActionProps<TActions extends string> = Record<
- TActions,
- ListAction
->;
export interface PageListProps extends ListProps {
onAdd: () => void;
}