AlessioGr/payload-plugin-lexical

Payload types think the field is an array

Opened this issue · 0 comments

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.