2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/ambientModules.ts ===
|
|
|
|
declare module Foo.Bar { export var foo; };
|
2014-08-28 21:40:58 +02:00
|
|
|
>Foo : typeof Foo
|
|
|
|
>Bar : typeof Bar
|
2014-08-15 23:33:16 +02:00
|
|
|
>foo : any
|
|
|
|
|
|
|
|
Foo.Bar.foo = 5;
|
|
|
|
>Foo.Bar.foo = 5 : number
|
|
|
|
>Foo.Bar.foo : any
|
2014-08-25 19:36:12 +02:00
|
|
|
>Foo.Bar : typeof Foo.Bar
|
2014-08-15 23:33:16 +02:00
|
|
|
>Foo : typeof Foo
|
2014-08-25 19:36:12 +02:00
|
|
|
>Bar : typeof Foo.Bar
|
2014-08-15 23:33:16 +02:00
|
|
|
>foo : any
|
|
|
|
|