UNPKG

rambdax

Version:

Extended version of Rambda - a lightweight, faster alternative to Ramda

18 lines (16 loc) 488 B
import {Depth} from '../Object/_Internal' import {CompulsoryPart} from '../Object/Compulsory' import {List} from './List' import {_Pick} from '../Object/Pick' /** Make that `L`'s fields cannot be [[Nullable]] or [[Optional]] (it's like [[Required]] & [[NonNullable]] at once). @param L to make compulsory @param depth (?=`'flat'`) to do it deeply @returns [[List]] @example ```ts ``` */ export type Compulsory<L extends List, depth extends Depth = 'flat'> = CompulsoryPart<L, depth>