結果 : typescript type a function parameter