結果 : typescript define function with parameters