2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/conformance/externalModules/foo_1.ts ===
|
|
|
|
import foo = require('./test/foo_0');
|
2014-08-28 21:40:58 +02:00
|
|
|
>foo : typeof foo
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var x = foo.foo + 42;
|
|
|
|
>x : number
|
|
|
|
>foo.foo + 42 : number
|
|
|
|
>foo.foo : number
|
2014-08-25 19:36:12 +02:00
|
|
|
>foo : typeof foo
|
2014-08-15 23:33:16 +02:00
|
|
|
>foo : number
|
|
|
|
|
|
|
|
=== tests/cases/conformance/externalModules/test/foo_0.ts ===
|
|
|
|
export var foo = 42;
|
|
|
|
>foo : number
|
|
|
|
|