Skip to content

Type of PublicErrors.validation seems wrong #187

@simonihmig

Description

@simonihmig

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!?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions