2014-08-28 01:58:31 +02:00
|
|
|
=== tests/cases/compiler/duplicateVarAndImport.ts ===
|
|
|
|
// no error since module is not instantiated
|
|
|
|
|
|
|
|
var a;
|
2015-04-16 01:44:20 +02:00
|
|
|
>a : any
|
2014-08-28 01:58:31 +02:00
|
|
|
|
|
|
|
module M { }
|
2015-04-16 01:44:20 +02:00
|
|
|
>M : any
|
2014-08-28 01:58:31 +02:00
|
|
|
|
|
|
|
import a = M;
|
2015-04-16 01:44:20 +02:00
|
|
|
>a : any
|
|
|
|
>M : any
|
2014-08-28 01:58:31 +02:00
|
|
|
|