react-md-editor icon indicating copy to clipboard operation
react-md-editor copied to clipboard

Does not allow application to compile

Open zwk5004 opened this issue 5 years ago • 1 comments

Error Message

node_modules/@uiw/react-md-editor/lib/cjs/index.d.ts(4,1):
Declaration or statement expected.  TS1128

    2 | import * as commands from './commands';
    3 | import * as MarkdownUtil from './utils/markdownUtils';
  > 4 | export type { ICommand, CommandOrchestrator, TextRange, TextState, TextApi } from './commands';
      | ^
    5 | export type { TextSection } from './utils/markdownUtils';
    6 | export * from './Editor';
    7 | export { MarkdownUtil, commands, };

All I have done is yarn add @uiw/react-md-editor and that is the error it kicks back. Not quite sure what would cause it to explode though.

zwk5004 avatar Dec 22 '20 04:12 zwk5004

Looks like it may have been one of my dependencies as I updated React, React-DOM, typescript and that resolved the issue.

zwk5004 avatar Dec 22 '20 04:12 zwk5004