結果 : typescript get the type of a function parameter