mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
414 B
Plaintext
15 lines
414 B
Plaintext
anyDeclare.ts(3,9): error TS2300: Duplicate identifier 'myFn'.
|
|
anyDeclare.ts(4,14): error TS2300: Duplicate identifier 'myFn'.
|
|
|
|
|
|
==== anyDeclare.ts (2 errors) ====
|
|
declare var x: any;
|
|
namespace myMod {
|
|
var myFn;
|
|
~~~~
|
|
!!! error TS2300: Duplicate identifier 'myFn'.
|
|
function myFn() { }
|
|
~~~~
|
|
!!! error TS2300: Duplicate identifier 'myFn'.
|
|
}
|
|
|