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
|
2014-08-19 04:56:03 +02:00
|
|
|
>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
|
2014-08-19 04:56:03 +02:00
|
|
|
>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
|
|
|
|