I have an interface that extends multiple interfaces
interface A extends B, C { a1: type; a2: type; a3: type; } interface B { b1: type; b2: type; b3: type; } interface C { c1: type; c2: type; c3: type; } The server responses with A and I have separate objects of type B and C. What I want to do is decouple it using Types so that I won't have to do
a:A = response b = { b1: a.b1, b2: a.b2 ... } c = { c1: a.c1, c2: a.c2 ... }