UNPKG

290 BTypeScriptView Raw
1import { ProductListProduct } from '.';
2import { ProductListProductValidation } from './';
3/**
4 * Takes a ProductListProduct and checks whether it is possible to add it to cart
5 */
6export declare function validateProduct(product: Partial<ProductListProduct>): ProductListProductValidation;