TypeScript/tests/cases/conformance/statements
Eli Barzilay ffa35d3272 Allow e: unknown in catch arguments
In addition, allow an explicit `any`; anything else throws an error.

Also adjust and reorganize existing tests.

Fixes #36775.
2020-06-10 18:24:20 -04:00
..
breakStatements partially suppress reachability errors in tests 2015-10-13 11:17:10 -07:00
continueStatements addressed PR feedback, updated tests to suppress reachability errors where they are not needed 2015-10-13 10:58:55 -07:00
for-await-ofStatements Reset error variable in downlevel for-await-of loop (#38170) 2020-04-24 14:59:41 -07:00
for-inStatements Update tests 2016-09-21 16:03:51 -07:00
for-ofStatements Reset error record in downlevel for-of (#31519) 2019-05-22 11:18:07 -07:00
forStatements addressed PR feedback, updated tests to suppress reachability errors where they are not needed 2015-10-13 10:58:55 -07:00
ifDoWhileStatements addressed PR feedback, updated tests to suppress reachability errors where they are not needed 2015-10-13 10:58:55 -07:00
labeledStatements add grammar check for labeled declaration (#25317) 2018-07-18 15:37:27 -06:00
returnStatements Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
switchStatements Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
throwStatements partially suppress reachability errors in tests 2015-10-13 11:17:10 -07:00
tryStatements Allow e: unknown in catch arguments 2020-06-10 18:24:20 -04:00
VariableStatements Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00
withStatements Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00