According to preliminary final results, it could have been worse for Democrats, if one assumes Libertarian votes would have gone Trump.
If the Libertarian candidate hadn’t sucked away votes, Trump might have pulled New Mexico, Colorado, Nevada, Minnesota, New Hampshire, and Maine.
That would have given Trump appx 340+ electoral votes.