Skip to content

Don't include Document if not needed #73

Open
@cjimmy

Description

@cjimmy

The codegen'd file included

import {Document} from '@contentful/rich-text-types'

even though none of my types needed it. In order to avoid TS errors without manual intervention (or a hack-y script to modify the file), I have to include the package @contentful/rich-text-types. Ideally, it would not automatically assume our schema includes RichText.

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