📜  Typescript 方法注释 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:32.454000             🧑  作者: Mango

代码示例1
/** 
* This is a description of the AddFive method. 
* @param number input to add five to
* @returns sum of five and number
*/
AddFive(number): number 
{   
  return number + 5;
}