[Bug]: NodePos.d.ts error TS2380 #5921
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Affected Packages
core
Version(s)
2.2.4
Bug Description
The issue occurs when I try to build my project, I get typescript error in node_modules/@tiptap/core/dist/NodePos.d.ts:16:9
error TS2380: The return type of a 'get' accessor must be assignable to its 'set' accessor type
Type 'Fragment' is not assignable to type 'JSONContent'.
le type 'JSONContent[]'.
16 get content(): Fragment;
Browser Used
Edge
Code Example URL
No response
Expected Behavior
When running build, project running successfully with no typescript errors
Version: 2.2.4
Additional Context (Optional)
Dependency Updates
The text was updated successfully, but these errors were encountered: