9 lines
219 B
Text
9 lines
219 B
Text
|
==== tests/cases/compiler/anyDeclare.ts (1 errors) ====
|
||
|
declare var x: any;
|
||
|
module myMod {
|
||
|
var myFn;
|
||
|
function myFn() { }
|
||
|
~~~~
|
||
|
!!! Duplicate identifier 'myFn'.
|
||
|
}
|
||
|
|