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

9 lines
342 B
Plaintext

tests/cases/compiler/catchClauseWithTypeAnnotation.ts(2,13): error TS1196: Catch clause variable cannot have a type annotation.
==== tests/cases/compiler/catchClauseWithTypeAnnotation.ts (1 errors) ====
try {
} catch (e: any) {
~~~
!!! error TS1196: Catch clause variable cannot have a type annotation.
}