14 lines
512 B
Plaintext
14 lines
512 B
Plaintext
tests/cases/compiler/file1.ts(2,5): error TS2451: Cannot redeclare block-scoped variable 'var1'.
|
|
tests/cases/compiler/file2.ts(1,5): error TS2451: Cannot redeclare block-scoped variable 'var1'.
|
|
|
|
|
|
==== tests/cases/compiler/file1.ts (1 errors) ====
|
|
|
|
let var1 = 0;
|
|
~~~~
|
|
!!! error TS2451: Cannot redeclare block-scoped variable 'var1'.
|
|
|
|
==== tests/cases/compiler/file2.ts (1 errors) ====
|
|
var var1 = 0;
|
|
~~~~
|
|
!!! error TS2451: Cannot redeclare block-scoped variable 'var1'. |