Skip to content

API Reference / @gtkx/forms / ArrayPath

Type Alias: ArrayPath<T>

ArrayPath<T> = T extends any ? ArrayPathInternal<T> : never

Defined in: node_modules/.pnpm/react-hook-form@7.86.0_react@19.2.8/node_modules/react-hook-form/dist/types/path/eager.d.ts:74

Type which eagerly collects all paths through a type which point to an array type.

Type Parameters

T

T

type which should be introspected.

Example

Path<{foo: {bar: string[], baz: number[]}}> = 'foo.bar' | 'foo.baz'

Released under the MPL-2.0 License.