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.
1313
1414
1515==== 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
2121==== tests/cases/compiler/file2.ts (12 errors) ====
2222 export {x, x as y};
2323 ~
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.
2525 ~
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.
2727 export {x1, x1 as y1};
2828 ~~
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.
3030 ~~
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.
3232
3333 export {a, a as a1};
3434 ~
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.
3636 ~
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.
3838 export {b, b as b1};
3939 ~
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.
4141 ~
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.
4343
4444
4545 export {x as z};
4646 ~
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.
4848 export {x1 as z1};
4949 ~~
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.
5151 export {a as a2};
5252 ~
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.
5454 export {b as b2};
5555 ~
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.
5757
0 commit comments