TypeScript/tests/baselines/reference/umd6.symbols

22 lines
593 B
Plaintext

=== tests/cases/conformance/externalModules/a.ts ===
/// <reference path="foo.d.ts" />
let y: number = Foo.fn();
>y : Symbol(y, Decl(a.ts, 1, 3))
>Foo.fn : Symbol(Foo.fn, Decl(foo.d.ts, 1, 25))
>Foo : Symbol(Foo, Decl(foo.d.ts, 4, 15))
>fn : Symbol(Foo.fn, Decl(foo.d.ts, 1, 25))
=== tests/cases/conformance/externalModules/foo.d.ts ===
declare namespace Thing {
>Thing : Symbol(Thing, Decl(foo.d.ts, 0, 0))
export function fn(): number;
>fn : Symbol(fn, Decl(foo.d.ts, 1, 25))
}
export = Thing;
>Thing : Symbol(Thing, Decl(foo.d.ts, 0, 0))
export as namespace Foo;