File: exportAssignmentCircularModules.types

package info (click to toggle)
node-typescript 5.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 497,488 kB
  • sloc: javascript: 2,107,274; makefile: 6; sh: 1
file content (50 lines) | stat: -rw-r--r-- 783 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//// [tests/cases/conformance/externalModules/exportAssignmentCircularModules.ts] ////

=== foo_2.ts ===
import foo0 = require("./foo_0");
>foo0 : typeof foo0

module Foo {
>Foo : typeof Foo

	export var x = foo0.x;
>x : any
>foo0.x : any
>foo0 : typeof foo0
>x : any
}
export = Foo;
>Foo : typeof Foo

=== foo_0.ts ===
import foo1 = require('./foo_1');
>foo1 : typeof foo1

module Foo {
>Foo : typeof Foo

	export var x = foo1.x;
>x : any
>foo1.x : any
>foo1 : typeof foo1
>x : any
}
export = Foo;
>Foo : typeof Foo

=== foo_1.ts ===
import foo2 = require("./foo_2");
>foo2 : typeof foo2

module Foo {
>Foo : typeof Foo

	export var x = foo2.x;
>x : any
>foo2.x : any
>foo2 : typeof foo2
>x : any
}
export = Foo;
>Foo : typeof Foo