結果 : typescript get type of method parameter