You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
😮💨 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
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...
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: