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 am using nextjs 14 and typescript , and i got this issue :
in this line : comment: commentStyleSpec,
Type '{ config: { type: string; propSchema: "string"; }; implementation: StyleImplementation; }' is not assignable to type 'BlockSpec<any, any, InlineContentSchema, StyleSchema>'.
Types of property 'implementation' are incompatible.
Type 'StyleImplementation' is missing the following properties from type 'TiptapBlockImplementation<any, any, InlineContentSchema, StyleSchema>': node, toInternalHTML, toExternalHTMLts(2322)
(property) comment: {
config: {
type: string;
propSchema: "string";
};
implementation: StyleImplementation;
}
I am using nextjs 14 and typescript , and i got this issue :
in this line : comment: commentStyleSpec,