我有一个带有JSDoc注释函数的类型记录文件
/**
* Get the manipulated URL
* @param {string} inputURL URL received from web services
* @returns {string} updated URL with extension
*/
manipulateURL (inputURL:string) : string {
//Logic to manipulate URL
}
在另一个文件中,当使用此函数时,只有获得在自动建议函数