Skip to content

Payload types think the field is an array #38

@johannesschaffer

Description

@johannesschaffer

The generated payload types (generate:types script) assign the field it the following type:
{ [k: string]: unknown; }[];

Any idea why? Makes it kinda hard to use with Typescript.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions