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

    Function camelizeKeys

    • Recursively rewrite an object's snake_case keys to camelCase.

      The result is whatever the caller says it is: pass the camelCase type it produces (camelizeKeys<FileInfo>(raw)) instead of casting the return value. Defaults to a plain record, so existing untyped calls keep compiling. Non-objects pass through untouched.

      Type Parameters

      • T = Record<string, unknown>

      Parameters

      • source: unknown
      • Optional__namedParameters: CamelizeKeysOptions

      Returns T