nhn / tui.image-editor

🍞🎨 Full-featured photo image editor using canvas. It is really easy, and it comes with great filters.
http://ui.toast.com/tui-image-editor
MIT License
6.84k stars 1.26k forks source link

Hello, I want to use in react-typescript project #778

Closed findmytrueself closed 2 years ago

findmytrueself commented 2 years ago

Summary

Could not find a declaration file for module '@toast-ui/react-image-editor'. '/Users/hunim/Documents/Personal/Blocko-Dev/silver-mine/node_modules/@toast-ui/react-image-editor/dist/toastui-react-image-editor.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/toast-ui__react-image-editor` if it exists or add a new declaration (.d.ts) file containing `declare module '@toast-ui/react-image-editor';`ts(7016)

Version node : 14.19.2 react : 18.0.8 typescript : 4.6.4

Additional context Does anyone know how to use this module in typescript?