tui.editor icon indicating copy to clipboard operation
tui.editor copied to clipboard

Cannot find module '@t/index' or its corresponding type declarations

Open mheers opened this issue 3 years ago • 0 comments

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,

mheers avatar Aug 08 '22 11:08 mheers