Get the keys of L that are Compulsory
L
(⚠️ needs --strictNullChecks enabled)
--strictNullChecks
Key
import {L} from 'ts-toolbelt' type test0 = L.CompulsoryKeys<[1, 2, 3]> // {0: 1, 1: 2, 2: 3}
Get the keys of
L
that are Compulsory(⚠️ needs
--strictNullChecks
enabled)