-
Notifications
You must be signed in to change notification settings - Fork 51
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
Imports { Document } when it is not used #106
Comments
😮💨 its uh.... just part of the renderer template. Please ping me if this library is still maintained and Ill work on a fix for it. Otherwise Ill spend some time transitioning this over to graphql codegen |
Merged
Running into the same issue and have worked around it using ESLint's ignore option. Would be great to get the proposed fix merged but not sure if this lib is still maintained... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When we generate our types we are seeing
import { Document } from '@contentful/rich-text-types';
when that type isnt used anywhere. The result is that our type checks and thus builds fail.I believe this is being imported because we have a string value in one of our union types in contentful that is 'Document'.
The text was updated successfully, but these errors were encountered: