tui.editor
tui.editor copied to clipboard
Cannot find module '@t/index' or its corresponding type declarations
Describe the bug
I upgraded tui.editor from 3.1.8 to 3.2.0 and now an error occurs that the module @t/index or its corresponding type declarations could not be found.
Expected behavior
No error in the nodeJS console.
Error in the nodeJS console
ERROR in ./node_modules/@toast-ui/editor/types/editor.d.ts(6,24):
6:24 Cannot find module '@t/index' or its corresponding type declarations.
4 | import { undoInputRule, InputRule, inputRules } from 'prosemirror-inputrules';
5 | import { keymap } from 'prosemirror-keymap';
> 6 | import { Editor } from '@t/index';
| ^
7 |
8 | import {
9 | HTMLConvertor,