typescript create new object of type interface