Microsoft/TypeScript — pull request #499 by DickvdBrink (2014-08-21 19:07:07+00:00)
Title: Fix shouldAssert function

this.currentAssertionLevel is always undefined because the currentAssertionLevel isn't exported.
I removed the this keyword because I didn't want to make the currentAssertionLevel public.