TypeScript/tests/baselines/reference/sourceMapValidationImport.types

29 lines
370 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/sourceMapValidationImport.ts ===
export module m {
2014-08-28 21:40:58 +02:00
>m : typeof m
2014-08-15 23:33:16 +02:00
export class c {
>c : c
}
}
import a = m.c;
2014-08-28 21:40:58 +02:00
>a : typeof a
>m : typeof m
2014-08-25 19:36:12 +02:00
>c : a
2014-08-15 23:33:16 +02:00
export import b = m.c;
2014-08-28 21:40:58 +02:00
>b : typeof a
>m : typeof m
2014-08-25 19:36:12 +02:00
>c : a
2014-08-15 23:33:16 +02:00
var x = new a();
2014-08-25 19:36:12 +02:00
>x : a
>new a() : a
>a : typeof a
2014-08-15 23:33:16 +02:00
var y = new b();
2014-08-25 19:36:12 +02:00
>y : a
>new b() : a
>b : typeof a
2014-08-15 23:33:16 +02:00