What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-12 19:16:02
typescript template literal dot notation
type PathImpl<T, Key extends keyof T> = Key extends string ? T[Key] extends Record<string, any> ? | `${Key}.${PathImpl<T[Key], Exclude<keyof T[Key], keyof any[]>> & string}` | `${Key}.${Exclude<keyof T[Key], ke... Add solution