9 lines
No EOL
340 B
Text
9 lines
No EOL
340 B
Text
tests/cases/compiler/catchClauseWithTypeAnnotation.ts(2,11): error TS1013: Catch clause parameter cannot have a type annotation.
|
|
|
|
|
|
==== tests/cases/compiler/catchClauseWithTypeAnnotation.ts (1 errors) ====
|
|
try {
|
|
} catch (e: any) {
|
|
~
|
|
!!! error TS1013: Catch clause parameter cannot have a type annotation.
|
|
} |