-
-
Notifications
You must be signed in to change notification settings - Fork 111
typescript can't find module .gql #180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@Akryum this implementation causes issue when used with tools Graphql Codegen (Module Plugin: https://graphql-code-generator.com/docs/plugins/typescript-graphql-files-modules ). Unfortunately Typescript doesn't have an option for excluding specific types. Only whitelist approach via I'd argue for these reasons this kind of type definition shouldn't be part of |
It works fine if you change the language to js.
vue cli reproduction: https://github.com/reproducing/reproduce-typescript-vue-cli-plugin-apollo
The text was updated successfully, but these errors were encountered: