In the field-list definition changing the line
parentId={{type: FieldParentType.FIELD_LIST as FieldParentType.FIELD_LIST}}
to
parentId={{type: FieldParentType.FIELD_LIST as const}}doesn't work.
Since const assertion was added on Typescript@3.4, which is not supported in our current typescript version.
In the field-list definition changing the line
parentId={{type: FieldParentType.FIELD_LIST as FieldParentType.FIELD_LIST}}
toparentId={{type: FieldParentType.FIELD_LIST as const}}
doesn't work. Since const assertion was added on Typescript@3.4, which is not supported in our current typescript version.