vinmonopolet-ts
Version:
Extracts information on products, categories and stores from Vinmonopolet
20 lines (19 loc) • 422 B
TypeScript
export type ImageSize = {
maxWidth: number | null;
maxHeight: number | null;
};
export type ImageProps = {
format: string;
altText?: string;
imageType: string;
url: string;
};
declare class ProductImage {
format: string;
description?: string;
type: string;
url: string;
size: ImageSize | null;
constructor(img: ImageProps);
}
export default ProductImage;