File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed
Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -423,7 +423,6 @@ export class BlockNoteEditor<
423423 } ,
424424 } ;
425425
426- // @ts -expect-error - schema type mismatch due to conditional default
427426 this . schema = newOptions . schema ;
428427 this . blockImplementations = newOptions . schema . blockSpecs ;
429428 this . inlineContentImplementations = newOptions . schema . inlineContentSpecs ;
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ export type InlineContentConfig = CustomInlineContentConfig | "text" | "link";
1515
1616// InlineContentImplementation contains the "implementation" info about an InlineContent element
1717// such as the functions / Nodes required to render and / or serialize it
18- // @ts -expect-error - T extends union but conditional type only narrows custom configs
1918export type InlineContentImplementation < T extends InlineContentConfig > =
2019 T extends "link" | "text"
2120 ? undefined
You can’t perform that action at this time.
0 commit comments