結果 : typescript create instance of custom type