Closed zwk5004 closed 3 years ago
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.
yarn add @uiw/react-md-editor
Looks like it may have been one of my dependencies as I updated React, React-DOM, typescript and that resolved the issue.
Error Message
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.