2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/catchClauseWithTypeAnnotation.ts(2,11): error TS1013: Catch clause parameter cannot have a type annotation.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/catchClauseWithTypeAnnotation.ts (1 errors) ====
|
|
|
|
try {
|
|
|
|
} catch (e: any) {
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1013: Catch clause parameter cannot have a type annotation.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|