10 lines
333 B
Plaintext
10 lines
333 B
Plaintext
|
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.
|
||
|
}
|