Documentation
    Preparing search index...

    Interface ObjectLikeUtils<Raw, Parsed>

    interface ObjectLikeUtils<Raw, Parsed> {
        withParsedProperties: <T extends Record<string, any>>(
            properties: {
                [K in string | number | symbol]: T[K] | ((parsed: Parsed) => T[K])
            },
        ) => ObjectLikeSchema<Raw, Parsed & T>;
    }

    Type Parameters

    • Raw
    • Parsed
    Index

    Properties

    withParsedProperties: <T extends Record<string, any>>(
        properties: {
            [K in string | number | symbol]: T[K] | ((parsed: Parsed) => T[K])
        },
    ) => ObjectLikeSchema<Raw, Parsed & T>