10 lines
No EOL
436 B
Text
10 lines
No EOL
436 B
Text
tests/cases/conformance/parser/ecmascript5/CatchClauses/parserCatchClauseWithTypeAnnotation1.ts(2,13): error TS1196: Catch clause variable cannot have a type annotation.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/CatchClauses/parserCatchClauseWithTypeAnnotation1.ts (1 errors) ====
|
|
try {
|
|
} catch (e: Error) {
|
|
~~~~~
|
|
!!! error TS1196: Catch clause variable cannot have a type annotation.
|
|
}
|
|
|