2015-03-06 00:21:00 +01:00
tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement1.d.ts(1,1): error TS1036: Statements are not allowed in ambient contexts.
2015-03-09 19:27:02 +01:00
tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement1.d.ts(1,15): error TS2304: Cannot find name 'e'.
2015-02-17 21:38:21 +01:00
2015-03-09 19:27:02 +01:00
==== tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement1.d.ts (2 errors) ====
2015-02-17 21:38:21 +01:00
for (var i of e) {
~~~
2015-03-06 00:21:00 +01:00
!!! error TS1036: Statements are not allowed in ambient contexts.
2015-03-09 19:27:02 +01:00
~
!!! error TS2304: Cannot find name 'e'.
2015-02-17 21:38:21 +01:00
}