dotansimha / dotansimha/graphql-code-generator

Re-exporting when using isolatedModules

Open
#6,773 0 comments 0 reactions 0 assignees View on GitHub
core stage/4-pull-request
Dominant language
TypeScript
Stars
11.3k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
23

Description

https://github.com/dotansimha/graphql-code-generator/blob/cfa0a8f80680524b151c48ac5bebecb8fa7720e1/packages/plugins/typescript/typescript/src/visitor.ts#L282

This line causes Typescript to report an error when a project is using `isolatedModules` and `export type { ... }` must be used. Is there any appetite to update this to use `export type`? This should be backwards compatible and prevent these errors.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.