Skip to content

Types issue #6

@AdelEddarai

Description

@AdelEddarai

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;
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions