5 lines
180 B
Plaintext
5 lines
180 B
Plaintext
==== tests/cases/compiler/varAndFunctionShareName.ts (1 errors) ====
|
|
var myFn;
|
|
function myFn(): any { }
|
|
~~~~
|
|
!!! error TS2300: Duplicate identifier 'myFn'. |