TypeScript/tests/baselines/reference/parserSwitchStatement1.d.errors.txt

7 lines
240 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/Statements/parserSwitchStatement1.d.ts (2 errors) ====
switch (foo) {
~~~~~~
!!! Statements are not allowed in ambient contexts.
~~~
!!! Cannot find name 'foo'.
}