TypeScript/tests/baselines/reference/exportDeclaredModule.types
Bill Ticehurst 671191a584 Fixed up baselines
(cherry picked from commit f9fb68fbfc)
2016-02-11 14:07:34 -08:00

25 lines
465 B
Text

=== tests/cases/conformance/externalModules/foo2.ts ===
import foo1 = require('./foo1');
>foo1 : typeof foo1
var x: number = foo1.b();
>x : number
>foo1.b() : number
>foo1.b : () => number
>foo1 : typeof foo1
>b : () => number
=== tests/cases/conformance/externalModules/foo1.ts ===
declare module M1 {
>M1 : typeof M1
export var a: string;
>a : string
export function b(): number;
>b : () => number
}
export = M1;
>M1 : typeof M1