DeepKeyAndValueTuple

Type Alias: DeepKeyAndValueTuple<TParent, T, TAcc, TAllKeys>

ts
type DeepKeyAndValueTuple<TParent, T, TAcc, TAllKeys> = TAllKeys extends any ? DeepKeysAndValuesImpl<NonNullable<T[TAllKeys]>, TupleDeepKeyAndValue<TParent, T, TAllKeys>, 
  | TAcc
  | TupleDeepKeyAndValue<TParent, T, TAllKeys>> : never;
type DeepKeyAndValueTuple<TParent, T, TAcc, TAllKeys> = TAllKeys extends any ? DeepKeysAndValuesImpl<NonNullable<T[TAllKeys]>, TupleDeepKeyAndValue<TParent, T, TAllKeys>, 
  | TAcc
  | TupleDeepKeyAndValue<TParent, T, TAllKeys>> : never;

Defined in: packages/form-core/src/util-types.ts:64

Type Parameters

TParent extends AnyDeepKeyAndValue

T extends ReadonlyArray<any>

TAcc

TAllKeys extends AllTupleKeys<T> = AllTupleKeys<T>

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.