@illavv/run_typer - v4.1.0
    Preparing search index...

    Type Alias FieldChecker

    FieldChecker: (
        obj: Record<string, unknown>,
        issues: ValidationIssue[],
        parentPath: string,
    ) => void

    A compiled check for one schema field. Reads the field out of its parent object and appends any failure to issues.

    parentPath is passed down rather than pre-joined so the dotted error path is only materialised when a check actually fails.

    Type Declaration

      • (
            obj: Record<string, unknown>,
            issues: ValidationIssue[],
            parentPath: string,
        ): void
      • Parameters

        Returns void