Here it is typed as ValidationErr | ValidationErr[], but ValidationErr itself is also typed as potentially being an array here, so narrowed down it seems the type would be string | string[] | string[][], and the last parts seems wrong, not?
I think it should be typed just as validation: ValidationErr!?
Here it is typed as
ValidationErr | ValidationErr[], butValidationErritself is also typed as potentially being an array here, so narrowed down it seems the type would bestring | string[] | string[][], and the last parts seems wrong, not?I think it should be typed just as
validation: ValidationErr!?