diff --git a/src/stores/product-service/types.ts b/src/stores/product-service/types.ts index b4367dc1..479310ce 100644 --- a/src/stores/product-service/types.ts +++ b/src/stores/product-service/types.ts @@ -1,6 +1,10 @@ import { Status } from '../types'; import { Pagination } from 'src/stores/types'; +export type ServiceAndProduct = (Service | ProductList) & { + type: 'product' | 'service'; +}; + export interface Service { updatedAt: string; updateBy: string;