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

6 lines
206 B
Plaintext

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