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...

5. Laurence Maguire 6
Comfortable on the ball and was fairly steady. Should have scored from close-range at 1-0 but was denied by Lynn's 'keeper. Photo: Dean Atkins

6. Alex Whittle 7
Battled well and showed lots of energy. Solid enough display. Photo: Dean Atkins

7. Curtis Weston 7
Rowe was not happy with his part in King's Lynn's first goal but overall he broke up play, made interceptions and kept it simple. Photo: Jason chadwick

8. Martin Smith 5
Started quite well, his early free-kick was almost headed in by Carline, but lost his way and was subbed early in the second-half. Photo: jason chadwick

