Skip to content

API Reference / @gtkx/forms / Path

Type Alias: Path<T> ​

Path<T> = T extends any ? PathInternal<T> : never

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'