Type guards do no affect values of type any
Adding test case
Addressing CR feedback
Merge pull request #1433 from Microsoft/typeGuardWithAny

Type guards should not affect values of type any