Compact Filters out null and undefined values from a union type T. Example type X = null | undefined | number | string type C = Compact<X>; // number | string