Say i import a module on a js file. Know it's structure, and wanna get type checking and hints on the code editor.
Can i do a 'in loco' JSDoc to let my editor know what to recomend?
like:
import { superModule } from 'mobule/location'
/**
* Do cool stuff
* {Object} superModule
* {string} superModule.wait
* {bool} superModule.holdOn
* @async {Function} superModule.doItNow
*/
superModule.doItNow().then((whatevs)=>{
console.log("you got the point!")
})