From e587e200587be8ff49cd237a592a39ed1956897c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Grz=C4=85ba?= Date: Mon, 11 Dec 2023 18:59:28 +0100 Subject: [PATCH] [PPI-976] bugfix in product type. accepts 1-5 product categories --- src/interfaces/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces/utils.ts b/src/interfaces/utils.ts index 69123b0..f2f38e4 100644 --- a/src/interfaces/utils.ts +++ b/src/interfaces/utils.ts @@ -1 +1 @@ -export type LimitedArrayFiveStrings = T & { length: 5 }; +export type LimitedArrayFiveStrings = [string, ...T] | [string, string, string, string, string];