using this fix issues with generated TypeScript definition where defined @types in JSDoc are not being found :
for example
/**
* @type {import('./../physics/body.js').Body}
*/
But as of now, this generates an unknown value with webdoc:
body
body: unknown
unknown
See as well below for a good article better explaining it :
https://darekkay.com/blog/javascript-type-comments/