Type alias ExpandRecursively<T>

ExpandRecursively<T>: T extends object
    ? T extends infer O
        ? {
            [K in keyof O]: ExpandRecursively<O[K]>
        }
        : never
    : T

Expands object types recursively

Type Parameters

  • T

    object type to expand

Generated using TypeDoc