TypeScript/tests/baselines/reference/ambientModules.types
2014-08-15 14:37:48 -07:00

15 lines
286 B
Plaintext

=== tests/cases/compiler/ambientModules.ts ===
declare module Foo.Bar { export var foo; };
>Foo : typeof Foo
>Bar : typeof Bar
>foo : any
Foo.Bar.foo = 5;
>Foo.Bar.foo = 5 : number
>Foo.Bar.foo : any
>Foo.Bar : typeof Bar
>Foo : typeof Foo
>Bar : typeof Bar
>foo : any