15 lines
420 B
Plaintext
15 lines
420 B
Plaintext
tests/cases/compiler/letAsIdentifier.ts(3,5): error TS2300: Duplicate identifier 'a'.
|
|
tests/cases/compiler/letAsIdentifier.ts(6,1): error TS2300: Duplicate identifier 'a'.
|
|
|
|
|
|
==== tests/cases/compiler/letAsIdentifier.ts (2 errors) ====
|
|
|
|
var let = 10;
|
|
var a = 10;
|
|
~
|
|
!!! error TS2300: Duplicate identifier 'a'.
|
|
let = 30;
|
|
let
|
|
a;
|
|
~
|
|
!!! error TS2300: Duplicate identifier 'a'. |