結果 : typescript function type with params