6 lines
No EOL
192 B
Text
6 lines
No EOL
192 B
Text
==== tests/cases/compiler/catchClauseWithTypeAnnotation.ts (1 errors) ====
|
|
try {
|
|
} catch (e: any) {
|
|
~
|
|
!!! Catch clause parameter cannot have a type annotation.
|
|
} |