react-toastify: 2.1.3 breaks TypeScript build
ERROR in [at-loader] ./node_modules/react-toastify/index.d.ts:23:16
TS2304: Cannot find name 'Transition'.
ERROR in [at-loader] ./node_modules/react-toastify/index.d.ts:37:37
TS2686: 'React' refers to a UMD global, but the current file is a module. Consider adding an import instead.
I think there need to be imports for React and Transition.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 2
- Comments: 23 (12 by maintainers)
Commits related to this issue
- Fix issue #63 — committed to fkhadra/react-toastify by fkhadra 7 years ago
- Merge pull request #64 from fkhadra/fix/issue-#63 Fix issue #63 — committed to fkhadra/react-toastify by fkhadra 7 years ago
- Definitely fix issue #63 — committed to fkhadra/react-toastify by fkhadra 7 years ago
works now @me