rambdax
Version:
Extended version of Rambda - a lightweight, faster alternative to Ramda
16 lines (14 loc) • 324 B
text/typescript
import {Paths as OPaths} from '../Object/Paths'
import {ObjectOf} from './ObjectOf'
import {List} from './List'
/**
Get all the possible paths of `L`
(⚠️ this won't work with circular-refs)
@param L to be inspected
@returns [[String]][]
@example
```ts
```
*/
export type Paths<L extends List> =
OPaths<ObjectOf<L>>