Payload types think the field is an array
Opened this issue · 0 comments
johannesschaffer commented
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.