Using loadTable with correct types in typescript with p5js

Only thing that i am struggling with is to load csv in typescript and have the data var with csv values.
Rest i can manage. once i have data var, i can run data.getNum and other functions on it.

Only clue i got so far is from this SO answer, but that only works because there is a type called SoundFile.

https://stackoverflow.com/questions/56199144/how-to-use-p5-sound-in-typescript-node-js.
So what’s the work around to call

loadTable("./less.csv", "csv", "header"); 

in typescript with correct types?