Tyson pounced for the equalsier with 15 minutes to go before Whelan struck the winner 60 seconds later.
Sonny Carey’s free-kick has given the Linnets the lead in the first-half.
The win is Town's fifth in a row and cements their position in sixth in the National League.
Here are Liam Norcliffe’s player ratings from the match...
The win is Town's fifth in a row and cements their position in sixth in the National League.
4 / 4