Check out example codes for "typescript class validator validate enum array". It will help you in understanding the concepts better.

Code Example 1

export class UserDto {
  @IsEmail()
  readonly email: string;

  @IsOptional()
  @IsEnum(Permissions, { each: true })
  readonly permissions: Permissions[]; <- How to validate this?
}

Learn ReactJs, React Native from akashmittal.com