7 lines
No EOL
242 B
Text
7 lines
No EOL
242 B
Text
==== tests/cases/conformance/parser/ecmascript5/CatchClauses/parserCatchClauseWithTypeAnnotation1.ts (1 errors) ====
|
|
try {
|
|
} catch (e: Error) {
|
|
~
|
|
!!! Catch clause parameter cannot have a type annotation.
|
|
}
|
|
|