1
- tests/cases/compiler/file2.ts(1,9): error TS2661: Cannot re- export name that is not defined in the module.
2
- tests/cases/compiler/file2.ts(1,12): error TS2661: Cannot re- export name that is not defined in the module.
3
- tests/cases/compiler/file2.ts(2,9): error TS2661: Cannot re- export name that is not defined in the module.
4
- tests/cases/compiler/file2.ts(2,13): error TS2661: Cannot re- export name that is not defined in the module.
5
- tests/cases/compiler/file2.ts(4,9): error TS2661: Cannot re- export name that is not defined in the module.
6
- tests/cases/compiler/file2.ts(4,12): error TS2661: Cannot re- export name that is not defined in the module.
7
- tests/cases/compiler/file2.ts(5,9): error TS2661: Cannot re- export name that is not defined in the module.
8
- tests/cases/compiler/file2.ts(5,12): error TS2661: Cannot re- export name that is not defined in the module.
9
- tests/cases/compiler/file2.ts(8,9): error TS2661: Cannot re- export name that is not defined in the module.
10
- tests/cases/compiler/file2.ts(9,9): error TS2661: Cannot re- export name that is not defined in the module.
11
- tests/cases/compiler/file2.ts(10,9): error TS2661: Cannot re- export name that is not defined in the module.
12
- tests/cases/compiler/file2.ts(11,9): error TS2661: Cannot re- export name that is not defined in the module.
1
+ tests/cases/compiler/file2.ts(1,9): error TS2661: Cannot export 'x'. Only local declarations can be exported from a module.
2
+ tests/cases/compiler/file2.ts(1,12): error TS2661: Cannot export 'x'. Only local declarations can be exported from a module.
3
+ tests/cases/compiler/file2.ts(2,9): error TS2661: Cannot export 'x1'. Only local declarations can be exported from a module.
4
+ tests/cases/compiler/file2.ts(2,13): error TS2661: Cannot export 'x1'. Only local declarations can be exported from a module.
5
+ tests/cases/compiler/file2.ts(4,9): error TS2661: Cannot export 'a'. Only local declarations can be exported from a module.
6
+ tests/cases/compiler/file2.ts(4,12): error TS2661: Cannot export 'a'. Only local declarations can be exported from a module.
7
+ tests/cases/compiler/file2.ts(5,9): error TS2661: Cannot export 'b'. Only local declarations can be exported from a module.
8
+ tests/cases/compiler/file2.ts(5,12): error TS2661: Cannot export 'b'. Only local declarations can be exported from a module.
9
+ tests/cases/compiler/file2.ts(8,9): error TS2661: Cannot export 'x'. Only local declarations can be exported from a module.
10
+ tests/cases/compiler/file2.ts(9,9): error TS2661: Cannot export 'x1'. Only local declarations can be exported from a module.
11
+ tests/cases/compiler/file2.ts(10,9): error TS2661: Cannot export 'a'. Only local declarations can be exported from a module.
12
+ tests/cases/compiler/file2.ts(11,9): error TS2661: Cannot export 'b'. Only local declarations can be exported from a module.
13
13
14
14
15
15
==== tests/cases/compiler/file1.d.ts (0 errors) ====
@@ -21,37 +21,37 @@ tests/cases/compiler/file2.ts(11,9): error TS2661: Cannot re-export name that is
21
21
==== tests/cases/compiler/file2.ts (12 errors) ====
22
22
export {x, x as y};
23
23
~
24
- !!! error TS2661: Cannot re- export name that is not defined in the module.
24
+ !!! error TS2661: Cannot export 'x'. Only local declarations can be exported from a module.
25
25
~
26
- !!! error TS2661: Cannot re- export name that is not defined in the module.
26
+ !!! error TS2661: Cannot export 'x'. Only local declarations can be exported from a module.
27
27
export {x1, x1 as y1};
28
28
~~
29
- !!! error TS2661: Cannot re- export name that is not defined in the module.
29
+ !!! error TS2661: Cannot export 'x1'. Only local declarations can be exported from a module.
30
30
~~
31
- !!! error TS2661: Cannot re- export name that is not defined in the module.
31
+ !!! error TS2661: Cannot export 'x1'. Only local declarations can be exported from a module.
32
32
33
33
export {a, a as a1};
34
34
~
35
- !!! error TS2661: Cannot re- export name that is not defined in the module.
35
+ !!! error TS2661: Cannot export 'a'. Only local declarations can be exported from a module.
36
36
~
37
- !!! error TS2661: Cannot re- export name that is not defined in the module.
37
+ !!! error TS2661: Cannot export 'a'. Only local declarations can be exported from a module.
38
38
export {b, b as b1};
39
39
~
40
- !!! error TS2661: Cannot re- export name that is not defined in the module.
40
+ !!! error TS2661: Cannot export 'b'. Only local declarations can be exported from a module.
41
41
~
42
- !!! error TS2661: Cannot re- export name that is not defined in the module.
42
+ !!! error TS2661: Cannot export 'b'. Only local declarations can be exported from a module.
43
43
44
44
45
45
export {x as z};
46
46
~
47
- !!! error TS2661: Cannot re- export name that is not defined in the module.
47
+ !!! error TS2661: Cannot export 'x'. Only local declarations can be exported from a module.
48
48
export {x1 as z1};
49
49
~~
50
- !!! error TS2661: Cannot re- export name that is not defined in the module.
50
+ !!! error TS2661: Cannot export 'x1'. Only local declarations can be exported from a module.
51
51
export {a as a2};
52
52
~
53
- !!! error TS2661: Cannot re- export name that is not defined in the module.
53
+ !!! error TS2661: Cannot export 'a'. Only local declarations can be exported from a module.
54
54
export {b as b2};
55
55
~
56
- !!! error TS2661: Cannot re- export name that is not defined in the module.
56
+ !!! error TS2661: Cannot export 'b'. Only local declarations can be exported from a module.
57
57
0 commit comments