Converts a literal type back to a "primitive" (i.e. collective type).
type Keys = "a" | "b" | "c"type KeysType = MakePrimitive<keys> // string Copy
type Keys = "a" | "b" | "c"type KeysType = MakePrimitive<keys> // string
Can optionally ignore booleans by passing false to the second type parameter.
Converts a literal type back to a "primitive" (i.e. collective type).
Can optionally ignore booleans by passing false to the second type parameter.