Assuming I have this type declaration:
type Foo = 'a' | 'b' | 'c';
type Bar = 'a' | 'b' ;
Is it possible to express Bar
as a subset of Foo
?
I understand it's always possible to express Foo
as a superset of Bar
, but in my case the other way around would feel more in line with the domain.