結果 : typescript pass function with arguments as parameter