Skip to content

Commit

Permalink
[PPI-976] bugfix in product type. accepts 1-5 product categories
Browse files Browse the repository at this point in the history
  • Loading branch information
lysy-vlc committed Dec 11, 2023
1 parent 87976dd commit e587e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interfaces/utils.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export type LimitedArrayFiveStrings<T extends string[]> = T & { length: 5 };
export type LimitedArrayFiveStrings<T extends string[] = []> = [string, ...T] | [string, string, string, string, string];

0 comments on commit e587e20

Please sign in to comment.