Kindly review this simple example:
interface A {
a: number;
}
interface B {
b: number;
}
interface C {
c: number;
}
type ABC = A | B | C;
type omitA = Omit<ABC, A>;
https://i.sstatic.net/5Mun4.png
Unfortunately, I am unable to exclude an interface, but omitting a string property works flawlessly.
Is there a way to omit the interface?