Utility TypeScript @ 2.0.0-beta.5
    Preparing search index...

    Type Alias RecursiveRecord<T_Keys, T_Values>Experimental

    RecursiveRecord: { [K in T_Keys]: T_Values | RecursiveRecord<T_Keys, T_Values> }

    Similar to the built-in Record type, but where the object's values can also be identical records.

    Type Parameters

    • T_Keys extends keyof any
    • T_Values extends any

    2.0.0-beta.2 — Experimental.