Skip to content

API Reference / @gtkx/forms / Path

Type Alias: Path<T>

Path<T> = T extends any ? PathInternal<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:39

Type which eagerly collects all paths through a type

Type Parameters

T

T

type which should be introspected

Example

Path<{foo: {bar: string}}> = 'foo' | 'foo.bar'

Released under the MPL-2.0 License.