10 lines
No EOL
333 B
Text
10 lines
No EOL
333 B
Text
tests/cases/compiler/catchClauseWithInitializer1.ts(3,12): error TS1197: Catch clause variable cannot have an initializer.
|
|
|
|
|
|
==== tests/cases/compiler/catchClauseWithInitializer1.ts (1 errors) ====
|
|
try {
|
|
}
|
|
catch (e = 1) {
|
|
~
|
|
!!! error TS1197: Catch clause variable cannot have an initializer.
|
|
} |