5 lines
No EOL
166 B
Text
5 lines
No EOL
166 B
Text
==== tests/cases/compiler/varAndFunctionShareName.ts (1 errors) ====
|
|
var myFn;
|
|
function myFn(): any { }
|
|
~~~~
|
|
!!! Duplicate identifier 'myFn'. |