16 lines
689 B
Plaintext
16 lines
689 B
Plaintext
=== 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
|
|
|