dotansimha / dotansimha/graphql-code-generator
Import types preset should work with typescript-resolver
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 23
Description
**Is your feature request related to a problem? Please describe.**
Right now the the `import-types` preset mostly works with the `typescript-resolver` plugin except for the import that seems to be missing.
**Describe the solution you'd like**
Make sure the import is included in the file and it will work perfectly. This seems to be due to the condition check it does to verify if it should include the file or not.
**Describe alternatives you've considered**
Currently adding the import with:
```yaml
- add:
content: "import type * as Types from './shared';"
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.