We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c5d84e commit a873ed9Copy full SHA for a873ed9
1 file changed
packages/super-editor/src/ui/create-super-doc-ui.ts
@@ -479,7 +479,7 @@ export function createSuperDocUI(options: SuperDocUIOptions): SuperDocUI {
479
// doc-api `StoryLocator` shape: `body` carries no extra id;
480
// `headerFooterSlot` discriminates by section + kind + variant;
481
// `headerFooterPart` by `refId`; `footnote` / `endnote` by `noteId`.
482
- const story = target ? (target as { story?: Record<string, unknown> }).story : undefined;
+ const story = target ? (target as unknown as { story?: Record<string, unknown> }).story : undefined;
483
let storyKey = '';
484
if (story) {
485
const storyType = typeof story.storyType === 'string' ? story.storyType : '';
0 commit comments