NEW YORK, NY - APRIL 4: Tesla CEO Elon Musk arrives at federal court, April 4, 2019 in New York City. A federal judge will hear oral arguments this afternoon in a lawsuit brought by the U.S. Securities and Exchange Commission (SEC) that seeks to hold Musk in contempt for violating a settlement deal. (Photo by Drew Angerer/Getty Images)

Tesla filed for a mixed shelf offering for an undisclosed amount on Thursday, a week after Chief Executive Officer Elon Musk suggested a capital raise could be imminent.

Many analysts had predicted the electric-car maker would need to raise funds for its expansion, including building a factory in Shanghai, the upcoming Model Y SUV, and other projects.