Standardization of doc comments used in TS code
/** @deprecated * deprecated, use x instead */ export const oldFunc = () => {}
class SomeService { /** @deprecated Do not use oldRepository based methods */ private oldRepository: IOldRepository // this line will be stroke out this.repository = oldRepository; }
class SomeService { private repository: IRepository constructor ( /** @deprecated Do not use oldRepository based methods */ @inject(TYPES.OldService) ) // this line will be stroke out this.repository = oldRepository; }
/** * @description what the below function does * @param param_name_1 what is the first parameter? * @param param_name_2 what is the second parameter? * @returns return_type what is the return type? */