結果 : typescript create object of specific type