15 lines
665 B
Text
15 lines
665 B
Text
=== tests/cases/compiler/ambientModules.ts ===
|
|
declare module Foo.Bar { export var foo; };
|
|
>Foo : typeof Foo, Symbol(Foo,Decl(ambientModules.ts,0,0))
|
|
>Bar : typeof Bar, Symbol(Bar,Decl(ambientModules.ts,0,19))
|
|
>foo : any, Symbol(foo,Decl(ambientModules.ts,0,35))
|
|
|
|
Foo.Bar.foo = 5;
|
|
>Foo.Bar.foo = 5 : number
|
|
>Foo.Bar.foo : any, Symbol(Foo.Bar.foo,Decl(ambientModules.ts,0,35))
|
|
>Foo.Bar : typeof Foo.Bar, Symbol(Foo.Bar,Decl(ambientModules.ts,0,19))
|
|
>Foo : typeof Foo, Symbol(Foo,Decl(ambientModules.ts,0,0))
|
|
>Bar : typeof Foo.Bar, Symbol(Foo.Bar,Decl(ambientModules.ts,0,19))
|
|
>foo : any, Symbol(Foo.Bar.foo,Decl(ambientModules.ts,0,35))
|
|
>5 : number
|
|
|