Documentation
    Preparing search index...
    interface ObjectUtils<Raw, Parsed> {
        extend: <RawExtension, ParsedExtension>(
            schemas: ObjectSchema<RawExtension, ParsedExtension>,
        ) => ObjectSchema<Raw & RawExtension, Parsed & ParsedExtension>;
        passthrough: () => ObjectSchema<
            Raw & { [key: string]: unknown },
            Parsed & { [key: string]: unknown },
        >;
    }

    Type Parameters

    • Raw
    • Parsed
    Index

    Properties

    Properties

    extend: <RawExtension, ParsedExtension>(
        schemas: ObjectSchema<RawExtension, ParsedExtension>,
    ) => ObjectSchema<Raw & RawExtension, Parsed & ParsedExtension>
    passthrough: () => ObjectSchema<
        Raw & { [key: string]: unknown },
        Parsed & { [key: string]: unknown },
    >