@uploadcare/upload-client
    Preparing search index...

    Type Alias SnakeCasedPropertiesDeep<T>

    SnakeCasedPropertiesDeep: T extends readonly unknown[]
        ? { [K in keyof T]: SnakeCasedPropertiesDeep<T[K]> }
        : T extends object
            ? {
                [K in keyof T as K extends string ? SnakeCase<K> : K]: SnakeCasedPropertiesDeep<
                    T[K],
                >
            }
            : T

    Type-level inverse of camelizeKeys: recursively rewrite an object's camelCase keys to snake_case. Lets a raw API frame be described as the snake_case form of a camelCase type such as FileInfo.

    Arrays and tuples keep their own shape — length, labels and readonly — and only their element types are rewritten.

    Type Parameters

    • T