TupleAccessor

Type Alias: TupleAccessor<TParent, TKey>

ts
type TupleAccessor<TParent, TKey> = `${TParent["key"] extends never ? "" : TParent["key"]}[${TKey}]`;
type TupleAccessor<TParent, TKey> = `${TParent["key"] extends never ? "" : TParent["key"]}[${TKey}]`;

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

Type Parameters

TParent extends AnyDeepKeyAndValue

TKey extends string

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.