How to validate array of strings?
@isArray(type of items)
public names: string[] = [];
Thanks!
Try @IsString({each: true})
Looks like issue is resolved :)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Try
@IsString({each: true})