Source: https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html
// number type
/** @type {number} */
let k
// Defining parameter types of function
/**
* @param {string} testName This is the name of test.
* @param {Function} fun This is test function.
*/
let m = (testName, fun) => undefined
// any type
/** @type any */
let a
// object type
/** @type object */
let b
importing types
with jsdoc : SEEMS VERY PROMISING AND GOOD FOR LONG LIFE DEVELOPMENThttps://stackoverflow.com/questions/49836644/how-to-import-a-typedef-from-one-file-to-another-in-jsdoc-using-node-js