react-gantt-elastic
react-gantt-elastic copied to clipboard
how to use this react-gantt-elastic with Next js 14?
now I am trying to use this in the next js 14 project.
but I got the errors below:
Import trace for requested module:
./node_modules/gantt-elastic/src/GanttElastic.vue
./app/roadmap/page.tsx
⨯ ./node_modules/react-gantt-elastic/src/GanttElastic.tsx
Module parse failed: The keyword 'interface' is reserved (53:0)
| const ctx = document.createElement("canvas").getContext("2d");