14 lines
No EOL
512 B
Text
14 lines
No EOL
512 B
Text
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'. |