Type alias CalculatedPathT<Value>

CalculatedPathT<Value>: Value extends (infer Element)[]
    ? [`${number}`, ...CalculatedPathT<Element>] | [`${number}`]
    : Value extends RecordT
        ? {
            [Key in keyof Value]: [Key, ...CalculatedPathT<Value[Key]>] | [Key]
        }[keyof Value]
        : []

Type Parameters

  • Value