Affected Packages
tip tap core
Version(s)
2.10.2
Bug Description
When I build my application getting below error
node_modules/@tiptap/core/dist/NodeView.d.ts:31:5 - error TS2416: Property 'ignoreMutation' in type 'NodeView<Component, NodeEditor, Options>' is not assignable to the same property in base type 'NodeView'.
Type '(mutation: MutationRecord | { type: "selection"; target: Element; }) => boolean' is not assignable to type '(mutation: ViewMutationRecord) => boolean'.
Types of parameters 'mutation' and 'mutation' are incompatible.
Type 'ViewMutationRecord' is not assignable to type 'MutationRecord | { type: "selection"; target: Element; }'.
Type '{ type: "selection"; target: Node; }' is not assignable to type 'MutationRecord | { type: "selection"; target: Element; }'.
Type '{ type: "selection"; target: Node; }' is not assignable to type '{ type: "selection"; target: Element; }'.
Types of property 'target' are incompatible.
Type 'Node' is missing the following properties from type 'Element': attributes, classList, className, clientHeight, and 118 more.
31 ignoreMutation(mutation: MutationRecord | {
~~~~~~~~~~~~~~
Browser Used
Chrome
Code Example URL
No response
Expected Behavior
Build without fail..
Additional Context (Optional)
No response
Dependency Updates