Type alias Expand<T>

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

Force typescript to infer a type as a specific type.

Type Parameters

  • T

Generated using TypeDoc