14 lines
294 B
Text
14 lines
294 B
Text
=== 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 Foo.Bar
|
|
>Foo : typeof Foo
|
|
>Bar : typeof Foo.Bar
|
|
>foo : any
|
|
|