Creating a type from nested interface properties in TypeScript
While at work I was upgrading graphql-code-generator, and found that the generated code no longer exports the type for a query node. Instead, the type of the whole query response was exported. But I had code that relied on having the node type available. To solve this, I created a