The president spoke as late vote counting in battleground states showed Democrat Joe Biden steadily closing in on victory.
Defiant US President accuses the Democrats of trying to 'steal the election', without providing any evidence.
and other media outlets say Esper has already prepared a resignation letter.
“Stop the count!” protesters chanted in Detroit. “Stop the steal!” they said in Phoenix.
The 1978 disco anthem was used both at rallies and as the soundtrack to a campaign video ahead of Tuesday's US presidential election.
Biden, 77, is leading Trump in the race for the 270 electoral votes that will put one of them over the top.
The US National Hurricane Center continued to warn of 'life-threatening flash flooding'.
To capture the White House, a candidate must amass at least 270 votes in the Electoral College.
Democrat challenger would be over the magic threshold of 270 electoral votes if he prevails.