White House officials are confident President Trump Donald John TrumpBubba Wallace to be driver of Michael Jordan, Denny Hamlin NASCAR team Graham: GOP will confirm Trump's Supreme Court nominee before the election Southwest Airlines, unions call for six-month extension of government aid MORE will sign the $1.3 trillion omnibus spending bill approved by Congress despite his surprise threat via Twitter to veto the bill.

“I think we’ll be OK,” White House director of legislative affairs Marc Short told CNN.

Another official said the White House believes that Trump will ultimately sign the legislation.

ADVERTISEMENT

“I think he just wanted to add a little drama,” the administration source told The Hill. “Everyone here is confident he'll sign it when it arrives at the White House.”

The legislation was approved easily in separate votes in the House on Thursday and the Senate early Friday morning, and Trump had earlier expressed support for the measure.

But it has come under intense criticism from the right, which may have influenced the president to weigh in with his unease about the bill. Trump complained that the legislation did not fully fund his wall on the Mexican border and that it did nothing to help young immigrants who were brought to the United States illegally as children, commonly known as "Dreamers."

“I am considering a VETO of the Omnibus Spending Bill based on the fact that the 800,000 plus DACA recipients have been totally abandoned by the Democrats (not even mentioned in Bill) and the BORDER WALL, which is desperately needed for our National Defense, is not fully funded,” Trump tweeted Friday morning.

If the president opts not to sign the bill, the government will shut down at midnight on Friday.