結果 : typescript infer function parameter type