結果 : typescript define function as parameter