mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
602 B
Plaintext
16 lines
602 B
Plaintext
//// [tests/cases/compiler/ambientModules.ts] ////
|
|
|
|
=== ambientModules.ts ===
|
|
declare namespace Foo.Bar { export var foo; };
|
|
>Foo : Symbol(Foo, Decl(ambientModules.ts, 0, 0))
|
|
>Bar : Symbol(Bar, Decl(ambientModules.ts, 0, 22))
|
|
>foo : Symbol(foo, Decl(ambientModules.ts, 0, 38))
|
|
|
|
Foo.Bar.foo = 5;
|
|
>Foo.Bar.foo : Symbol(Foo.Bar.foo, Decl(ambientModules.ts, 0, 38))
|
|
>Foo.Bar : Symbol(Foo.Bar, Decl(ambientModules.ts, 0, 22))
|
|
>Foo : Symbol(Foo, Decl(ambientModules.ts, 0, 0))
|
|
>Bar : Symbol(Foo.Bar, Decl(ambientModules.ts, 0, 22))
|
|
>foo : Symbol(Foo.Bar.foo, Decl(ambientModules.ts, 0, 38))
|
|
|