結果 : typescript function type as argument