The New York Times praised President-elect Trump's deal with the company Carrier to maintain about a thousand jobs in Indiana that were in danger of being lost.

The paper's editorial board said Thursday night that Trump, along with Vice President-elect Mike Pence, were right to negotiate with Carrier in an effort to keep jobs from being outsourced to Mexico.

"The holidays came early this year for workers at a Carrier furnace plant in Indiana, who learned on Tuesday that 800 of their jobs would not be moving to Mexico after all," said the Times.

"Their good fortune is also an early triumph for the incoming Trump administration. President-elect Trump had promised during the campaign to stop the offshoring of American manufacturing jobs, and true to that pledge, he and Vice President-elect Mike Pence, who is governor of Indiana, cut a deal with Carrier, a division of United Technologies, to keep the jobs in the state."

Details of the deal to keep the Carrier jobs were not known in detail, but the company was offered millions of dollars worth of state tax breaks, and it said it anticipated a more competitive business environment under Trump's administration.

The Times doubted, however, that Trump would be as successful in stemming the overall loss of factory and manufacturing jobs across the nation without big policy changes on the federal level.

"Stopping the outsourcing of jobs is a worthy goal, but it does not address the underlying trends in technology and public policy that are behind the demise of blue-collar jobs," the paper said.