結果 : typescript create object of custom type