graycoreio/daffodil

View on GitHub
libs/design/tree/src/interfaces/recursive-key.ts

Summary

Maintainability
A
0 mins
Test Coverage
export type RecursiveTreeKeyOfType<T> = keyof {
  [P in keyof T as T[P] extends T[]? P: never]: T[]
};