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
Describe the bug
<what's going wrong!?>
When I run build in sublime text 3, with nothing more than the following references to Blocknote...
import "@blocknote/core/fonts/inter.css";
import { useCreateBlockNote } from "@blocknote/react";
import { BlockNoteView } from "@blocknote/mantine";
import "@blocknote/mantine/style.css";
...I get the following error
../../../../node_modules/@blocknote/core/types/src/editor/BlockNoteTipTapEditor.d.ts(13,22): error TS2415: Class 'BlockNoteTipTapEditor' incorrectly extends base class 'Editor'.
Property 'createView' is private in type 'Editor' but not in type 'BlockNoteTipTapEditor'.
However, compiling with webpack (dev) completes without error.
Looks like sublime is using typescript 5.4.5, whereas webpack ts-loader is using typescript 5.2.2. So I presume sublime is catching the error correctly. Meaning webpack will catch this error eventually, which means I can't use BlockNote until this is fixed.
Also the error
../../../../node_modules/@blocknote/core/types/src/editor/BlockNoteTipTapEditor.d.ts(13,22): error TS2415: Class 'BlockNoteTipTapEditor' incorrectly extends base class 'Editor'.
Property 'createView' is private in type 'Editor' but not in type 'BlockNoteTipTapEditor'.
Describe the bug
<what's going wrong!?>
When I run build in sublime text 3, with nothing more than the following references to Blocknote...
...I get the following error
However, compiling with webpack (dev) completes without error.
using
and sublime text 3 build 4169
See #921
To Reproduce
<clear steps to reproduce are super helpful! Best is to provide an online sandbox, click to create one>
Misc
The text was updated successfully, but these errors were encountered: