mst-gql
mst-gql copied to clipboard
[Typescript] Separate out interfaces to queries and mutations
Any chance we can create typescript interfaces for the inputs into the queries? Right now, they are just hardcoded in and not reusable...If I want to pass in variables into a component that will make its way into a query or mutation, I have to write out the types again manually. Would be great if I can import the interface to the queries.
Keep bumping up into this, any other TS users in MST-GQL want to take a stab at this? 😄