結果 : typescript declare function as parameter