結果 : typescript extract function parameter type