Is there a way to “extract” the type of TypeScript interface property?
Let’s suppose there’s a typing file for library X which includes some interfaces. interface I1 { x: any; } interface I2 { y: { a: I1, b: I1, c: I1 } z: any } In order to work with this library I need pass around an object that is of exactly the same type as … Read more