結果 : typescript create new object from generic type