Type alias FlatRecord<T>

FlatRecord<T>: {
    [K in keyof T]: T[K]
}

Type Parameters

  • T

    The type to be converted.

Summary

Converts Unions to one record "object".

Description

It makes intellisense dialog box easier to read as a single object instead of showing that in multiple object unions.

Generated using TypeDoc