結果 : get type of function return typescript