Vinyl
    Preparing search index...

    Variable objectValidatorsConst

    objectValidators: {
        properties<U extends object>(
            propertyValidators: {
                readonly [P in string | number | symbol]-?: PropertyValidator<
                    Required<U>[P],
                    { optional: IsPropertyOptional<U, P> },
                >
            },
        ): ValidatorWithPartial<U, object>;
    } = ...

    Type declaration

    • properties: function
      • Creates a validator that validates the input has properties that pass their respective validators.

        Type Parameters

        • U extends object

        Parameters

        Returns ValidatorWithPartial<U, object>