0👍
✅
OK – I seem to have resolved the problem.
I removed the plugin ‘typescript-vue-urql’ from the config which seems counter intuitive, but the generated file then had no issues.
I also added a name for the query, then imported this ‘name’ from the Types file, and then typed the useQuery function.
Source:stackexchange.com