TypeScript/tests/baselines/reference/parserCatchClauseWithTypeAnnotation1.errors.txt
2015-02-26 17:19:19 -08:00

10 lines
436 B
Plaintext

tests/cases/conformance/parser/ecmascript5/CatchClauses/parserCatchClauseWithTypeAnnotation1.ts(2,13): error TS1196: Catch clause variable cannot have a type annotation.
==== tests/cases/conformance/parser/ecmascript5/CatchClauses/parserCatchClauseWithTypeAnnotation1.ts (1 errors) ====
try {
} catch (e: Error) {
~~~~~
!!! error TS1196: Catch clause variable cannot have a type annotation.
}