TypeScript/tests/baselines/reference/parserCatchClauseWithTypeAnnotation1.errors.txt
2014-09-11 16:11:08 -07:00

7 lines
256 B
Plaintext

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