rambdax
Version:
Extended version of Rambda - a lightweight, faster alternative to Ramda
17 lines (14 loc) • 343 B
text/typescript
import {Compulsory as OCompulsory} from '../Object/Compulsory'
import {ObjectOf} from './ObjectOf'
import {List} from './List'
/**
Get the keys of `L` that are [[Compulsory]]
(⚠️ needs `--strictNullChecks` enabled)
@param L
@returns [[Key]]
@example
```ts
```
*/
export type CompulsoryKeys<L extends List> =
OCompulsory<ObjectOf<L>>