- Preparing search index...
- The search index is not available
@beerush/utils
Type alias NestedPath<T, K>
NestedPath<T, K>: K extends string | number ? T[K] extends infer R ? `${K}` | (R extends unknown[] ? `${K}.${NestedArrayPath<R>}` : R extends Record<string, unknown> ? `${K}.${NestedPath<R>}` : never) : never : never
Type Parameters
-
T
-
K extends keyof T = keyof T