Type Alias ExpandRecursively<T>

ExpandRecursively<T>: T extends Record<PropertyKey, unknown>
    ? T extends infer O
        ? {
            [K in keyof O]: ExpandRecursively<O[K]>
        }
        : never
    : T

Force intellisense to expand the typing to hide merging typings

Type Parameters

  • T