11 lines
No EOL
298 B
Text
11 lines
No EOL
298 B
Text
tests/cases/compiler/file2.ts(1,5): error TS2300: Duplicate identifier 'var1'.
|
|
|
|
|
|
==== tests/cases/compiler/file1.ts (0 errors) ====
|
|
|
|
var var1 = 0;
|
|
|
|
==== tests/cases/compiler/file2.ts (1 errors) ====
|
|
let var1 = 0;
|
|
~~~~
|
|
!!! error TS2300: Duplicate identifier 'var1'. |