Files
TypeScript/tests/baselines/reference
Sheetal Nandi e79bec5cbf TypeGuards narrow types in if statement works per spec:
The type of a variable or parameter is narrowed in the following situations:
•	In the true branch statement of an ‘if’ statement, the type of a variable or parameter is narrowed by any type guard in the ‘if’ condition when true, provided the if statement contains no assignments to the variable or parameter.
•	In the false branch statement of an ‘if’ statement, the type of a variable or parameter is narrowed by any type guard in the ‘if’ condition when false, provided the if statement contains no assignments to the variable or parameter.
2014-11-06 13:04:08 -08:00
..
2014-10-31 10:19:31 -07:00
2014-10-20 23:05:44 -07:00
2014-10-20 23:05:44 -07:00
2014-11-03 18:42:26 -08:00
2014-11-05 12:26:03 -08:00
2014-11-05 12:26:03 -08:00
2014-10-19 07:57:10 -07:00
2014-10-19 07:57:10 -07:00
2014-11-03 14:29:23 -08:00