Skip to content

Imports { Document } when it is not used #106

Open
@grantglidewell

Description

@grantglidewell

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'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions