When using "strictNullChecks": false in tsconfig.json using a project with the live preview SDK and inspector mode, you would get this error:
Object literal may only specify known properties, and 'fieldId' does not exist in type '({ entryId: string; } | { assetId: string; }) & Pick<LivePreviewProps, "locale" | "space" | "environment">'.
I simplified the GetInspectorModeProps type which fixes this issue
When using
"strictNullChecks": false
intsconfig.json
using a project with the live preview SDK and inspector mode, you would get this error:I simplified the
GetInspectorModeProps
type which fixes this issue