I tried following the instructions provided in the top answer here react plotly js with typescript
but am encountering a type error now. I promise I ran both npm i plotly.js react-plotly.js and npm i --save-dev @types/plotly.js @types/react-plotly.js
The test code I'm trying to run is from the top answer in the link above.
