Type alias Expand<T>Internal

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

This type function helps expanding the calculation of a type. It is used in mkMarloweTemplate to show the results of TemplateType. When it is not used, the types are hard to read.

Type Parameters

  • T