TypeScript/tests/baselines/reference/parserCatchClauseWithTypeAnnotation1.errors.txt

10 lines
432 B
Plaintext
Raw Normal View History

tests/cases/conformance/parser/ecmascript5/CatchClauses/parserCatchClauseWithTypeAnnotation1.ts(2,11): error TS1013: Catch clause parameter cannot have a type annotation.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/CatchClauses/parserCatchClauseWithTypeAnnotation1.ts (1 errors) ====
try {
} catch (e: Error) {
~
!!! error TS1013: Catch clause parameter cannot have a type annotation.
2014-07-13 01:04:16 +02:00
}