TypeScript/tests/baselines/reference/importDeclWithExportModifierInAmbientContext.types

20 lines
271 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/importDeclWithExportModifierInAmbientContext.ts ===
declare module "m" {
module x {
>x : any
2014-08-15 23:33:16 +02:00
interface c {
>c : c
2014-08-15 23:33:16 +02:00
}
}
export import a = x.c;
>a : any
>x : any
>c : a
2014-08-15 23:33:16 +02:00
var b: a;
>b : a
>a : a
2014-08-15 23:33:16 +02:00
}