Make that L's fields cannot be Nullable or Optional (it's like Required & NonNullable at once).
L
to make compulsory
(?='flat') 'deep' to do it deeply
'flat'
List
* import {L} from 'ts-toolbelt' type test0 = L.Compulsory<[1, 2, 3?, 4?]> // [1, 2, 3, 4] type test1 = L.Compulsory<['a', 'b' | undefined, 'c', 'd', 'e' | null]> // ['a', 'b', 'c', 'd', 'e']
Make that
L
's fields cannot be Nullable or Optional (it's like Required & NonNullable at once).