Using loadTable with correct types in typescript with p5js

Where’s that variable spectrum. Shouldn’t that be instead: export default plot_diagram;

Is “p5” path just enough? I had to use import * as p5 from "p5/index"; on my own TS sketch:

1 Like