You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked "open" AND "closed" issues and this is not a duplicate
Description
Error Message
Type '(YooptaPlugin<TableElementMap, Record<string, unknown>> | YooptaPlugin<DividerElementMap, Record<string, unknown>> | ... 12 more ... | YooptaPlugin<...>)[]' is not assignable to type 'readonly YooptaPlugin<Record<string, SlateElement>, Record<string, unknown>>[]'. Type 'YooptaPlugin<TableElementMap, Record<string, unknown>> | YooptaPlugin<DividerElementMap, Record<string, unknown>> | ... 12 more ... | YooptaPlugin<...>' is not assignable to type 'YooptaPlugin<Record<string, SlateElement>, Record<string, unknown>>'. Type 'YooptaPlugin<TableElementMap, Record<string, unknown>>' is not assignable to type 'YooptaPlugin<Record<string, SlateElement>, Record<string, unknown>>'. The types of 'getPlugin.elements' are incompatible between these types. Type '{ table: PluginElement<"table-data-cell" | "table-row", PluginElementProps<TableElementProps>>; 'table-data-cell': PluginElement<...>; 'table-row': PluginElement<...>; }' is not assignable to type '{ [x: string]: PluginElement<never, any>; }'. Property 'table' is incompatible with index signature. Type 'PluginElement<"table-data-cell" | "table-row", PluginElementProps<TableElementProps>>' is not assignable to type 'PluginElement<never, any>'. Type '"table-data-cell" | "table-row"' is not assignable to type 'never'. Type '"table-data-cell"' is not assignable to type 'never'.
The expected type comes from property 'plugins' which is declared here on type 'IntrinsicAttributes & YooptaEditorProps'
Screenshots
No response
Do you want to work on this issue?
No
The text was updated successfully, but these errors were encountered:
Has this bug been raised before?
Description
Error Message
Type '(YooptaPlugin<TableElementMap, Record<string, unknown>> | YooptaPlugin<DividerElementMap, Record<string, unknown>> | ... 12 more ... | YooptaPlugin<...>)[]' is not assignable to type 'readonly YooptaPlugin<Record<string, SlateElement>, Record<string, unknown>>[]'. Type 'YooptaPlugin<TableElementMap, Record<string, unknown>> | YooptaPlugin<DividerElementMap, Record<string, unknown>> | ... 12 more ... | YooptaPlugin<...>' is not assignable to type 'YooptaPlugin<Record<string, SlateElement>, Record<string, unknown>>'. Type 'YooptaPlugin<TableElementMap, Record<string, unknown>>' is not assignable to type 'YooptaPlugin<Record<string, SlateElement>, Record<string, unknown>>'. The types of 'getPlugin.elements' are incompatible between these types. Type '{ table: PluginElement<"table-data-cell" | "table-row", PluginElementProps<TableElementProps>>; 'table-data-cell': PluginElement<...>; 'table-row': PluginElement<...>; }' is not assignable to type '{ [x: string]: PluginElement<never, any>; }'. Property 'table' is incompatible with index signature. Type 'PluginElement<"table-data-cell" | "table-row", PluginElementProps<TableElementProps>>' is not assignable to type 'PluginElement<never, any>'. Type '"table-data-cell" | "table-row"' is not assignable to type 'never'. Type '"table-data-cell"' is not assignable to type 'never'.
The expected type comes from property 'plugins' which is declared here on type 'IntrinsicAttributes & YooptaEditorProps'
Screenshots
No response
Do you want to work on this issue?
No
The text was updated successfully, but these errors were encountered: