TypeScript/tests/baselines/reference/duplicateVarAndImport.types

14 lines
194 B
Text
Raw Normal View History

2014-08-28 01:58:31 +02:00
=== tests/cases/compiler/duplicateVarAndImport.ts ===
// no error since module is not instantiated
var a;
>a : any
module M { }
2014-08-28 21:40:58 +02:00
>M : unknown
2014-08-28 01:58:31 +02:00
import a = M;
2014-08-28 21:40:58 +02:00
>a : any
>M : unknown
2014-08-28 01:58:31 +02:00