16 lines
428 B
Text
16 lines
428 B
Text
=== tests/cases/conformance/externalModules/a.ts ===
|
|
/// <reference path="foo.d.ts" />
|
|
let y: number = Foo();
|
|
>y : Symbol(y, Decl(a.ts, 1, 3))
|
|
>Foo : Symbol(Foo, Decl(foo.d.ts, 2, 15))
|
|
|
|
=== tests/cases/conformance/externalModules/foo.d.ts ===
|
|
|
|
declare function Thing(): number;
|
|
>Thing : Symbol(Thing, Decl(foo.d.ts, 0, 0))
|
|
|
|
export = Thing;
|
|
>Thing : Symbol(Thing, Decl(foo.d.ts, 0, 0))
|
|
|
|
export as namespace Foo;
|
|
|