How to get IntelliSense working for the c variable inside the fn function, I am using VS Code.
c
fn
I have tried: @param {Car()} c
@param {Car()} c
const Car = () => ({ color: "red" }); const c1 = Car(); /** * @param {Car} c */ const fn = c => console.log(c.color); fn(c1);
2.1m questions
2.1m answers
60 comments
57.0k users