2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/innerExtern.ts ===
|
|
|
|
module A {
|
2015-04-16 01:44:20 +02:00
|
|
|
>A : typeof A
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export declare module BB {
|
2015-04-16 01:44:20 +02:00
|
|
|
>BB : typeof BB
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export var Elephant;
|
2015-04-16 01:44:20 +02:00
|
|
|
>Elephant : any
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
export module B {
|
2015-04-16 01:44:20 +02:00
|
|
|
>B : typeof B
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
export class C {
|
2015-04-16 01:44:20 +02:00
|
|
|
>C : C
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
x = BB.Elephant.X;
|
2015-04-16 01:44:20 +02:00
|
|
|
>x : any
|
2014-08-15 23:33:16 +02:00
|
|
|
>BB.Elephant.X : any
|
2015-04-16 01:44:20 +02:00
|
|
|
>BB.Elephant : any
|
|
|
|
>BB : typeof BB
|
|
|
|
>Elephant : any
|
2014-08-15 23:33:16 +02:00
|
|
|
>X : any
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|