That's a tough proposition. The Danes don't have the resources to make their country completely invasion proof against the 1940 Germans. They could have been better prepared in hindsight, and slowed the Germans down more.
Jutland is good enough tank country where German numbers will carry the day. If the Danes had built a strong border fort system, the Germans might have opened a crack in the works by use of parachute troops and maybe some "end-around" seaborne landings. The Luftwaffe has numbers, technology, and veteran skill working for them as well.
Perhaps with earlier warning, the Dane's might have more troops in the field and anti-tank weapons dug in. The soldiers that were in place generally put up a good fight, there weren't enough of them. Also, earlier warning might help the small Danish air force to get dispersed or in better position to defend the country.
Not that it would benefit the Dane's, but any extra delay in the Germans seizing the airfields at Aalborg would really hamper the German assault on Norway. The Nazi's needed those fields immediately to keep to their very aggressive timetable. Any upset to that schedule gives Norway a better chance in the following days. Also, any losses to the JU-52's and parachute troops causes problems for the attacks on the Netherlands, Belgium, and France in the following month. Not much acceptable margin for losses in those specialists.