Accepted baselines.
This commit is contained in:
parent
0417592ccb
commit
a25c70b47d
8 changed files with 68 additions and 68 deletions
|
@ -1,4 +1,4 @@
|
|||
tests/cases/compiler/b.ts(1,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/b.ts(1,9): error TS2661: Cannot export 'X'. Only local declarations can be exported from a module.
|
||||
|
||||
|
||||
==== tests/cases/compiler/a.d.ts (0 errors) ====
|
||||
|
@ -8,7 +8,7 @@ tests/cases/compiler/b.ts(1,9): error TS2661: Cannot re-export name that is not
|
|||
==== tests/cases/compiler/b.ts (1 errors) ====
|
||||
export {X};
|
||||
~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'X'. Only local declarations can be exported from a module.
|
||||
export function f() {
|
||||
var x: X;
|
||||
return x;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
tests/cases/compiler/exportSpecifierReferencingOuterDeclaration1.ts(3,14): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/exportSpecifierReferencingOuterDeclaration1.ts(3,14): error TS2661: Cannot export 'X'. Only local declarations can be exported from a module.
|
||||
|
||||
|
||||
==== tests/cases/compiler/exportSpecifierReferencingOuterDeclaration1.ts (1 errors) ====
|
||||
|
@ -6,6 +6,6 @@ tests/cases/compiler/exportSpecifierReferencingOuterDeclaration1.ts(3,14): error
|
|||
declare module "m" {
|
||||
export { X };
|
||||
~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'X'. Only local declarations can be exported from a module.
|
||||
export function foo(): X.bar;
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_B.ts(1,10): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_B.ts(1,10): error TS2661: Cannot export 'X'. Only local declarations can be exported from a module.
|
||||
|
||||
|
||||
==== tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_A.ts (0 errors) ====
|
||||
|
@ -7,5 +7,5 @@ tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_B.ts(1,10): err
|
|||
==== tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_B.ts (1 errors) ====
|
||||
export { X };
|
||||
~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'X'. Only local declarations can be exported from a module.
|
||||
export declare function foo(): X.bar;
|
|
@ -1,15 +1,15 @@
|
|||
tests/cases/compiler/file2.ts(1,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(1,12): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(2,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(2,13): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(4,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(4,12): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(5,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(5,12): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(8,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(9,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(10,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(11,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(1,9): error TS2661: Cannot export 'x'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(1,12): error TS2661: Cannot export 'x'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(2,9): error TS2661: Cannot export 'x1'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(2,13): error TS2661: Cannot export 'x1'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(4,9): error TS2661: Cannot export 'a'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(4,12): error TS2661: Cannot export 'a'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(5,9): error TS2661: Cannot export 'b'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(5,12): error TS2661: Cannot export 'b'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(8,9): error TS2661: Cannot export 'x'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(9,9): error TS2661: Cannot export 'x1'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(10,9): error TS2661: Cannot export 'a'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(11,9): error TS2661: Cannot export 'b'. Only local declarations can be exported from a module.
|
||||
|
||||
|
||||
==== 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
|
|||
==== tests/cases/compiler/file2.ts (12 errors) ====
|
||||
export {x, x as y};
|
||||
~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'x'. Only local declarations can be exported from a module.
|
||||
~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'x'. Only local declarations can be exported from a module.
|
||||
export {x1, x1 as y1};
|
||||
~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'x1'. Only local declarations can be exported from a module.
|
||||
~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'x1'. Only local declarations can be exported from a module.
|
||||
|
||||
export {a, a as a1};
|
||||
~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'a'. Only local declarations can be exported from a module.
|
||||
~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'a'. Only local declarations can be exported from a module.
|
||||
export {b, b as b1};
|
||||
~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'b'. Only local declarations can be exported from a module.
|
||||
~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'b'. Only local declarations can be exported from a module.
|
||||
|
||||
|
||||
export {x as z};
|
||||
~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'x'. Only local declarations can be exported from a module.
|
||||
export {x1 as z1};
|
||||
~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'x1'. Only local declarations can be exported from a module.
|
||||
export {a as a2};
|
||||
~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'a'. Only local declarations can be exported from a module.
|
||||
export {b as b2};
|
||||
~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'b'. Only local declarations can be exported from a module.
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
tests/cases/compiler/file2.ts(1,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(1,13): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(2,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(2,13): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(3,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(4,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(1,9): error TS2661: Cannot export 'I1'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(1,13): error TS2661: Cannot export 'I1'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(2,9): error TS2661: Cannot export 'I2'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(2,13): error TS2661: Cannot export 'I2'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(3,9): error TS2661: Cannot export 'I1'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(4,9): error TS2661: Cannot export 'I2'. Only local declarations can be exported from a module.
|
||||
|
||||
|
||||
==== tests/cases/compiler/file1.d.ts (0 errors) ====
|
||||
|
@ -19,17 +19,17 @@ tests/cases/compiler/file2.ts(4,9): error TS2661: Cannot re-export name that is
|
|||
==== tests/cases/compiler/file2.ts (6 errors) ====
|
||||
export {I1, I1 as II1};
|
||||
~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'I1'. Only local declarations can be exported from a module.
|
||||
~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'I1'. Only local declarations can be exported from a module.
|
||||
export {I2, I2 as II2};
|
||||
~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'I2'. Only local declarations can be exported from a module.
|
||||
~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'I2'. Only local declarations can be exported from a module.
|
||||
export {I1 as III1};
|
||||
~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'I1'. Only local declarations can be exported from a module.
|
||||
export {I2 as III2};
|
||||
~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'I2'. Only local declarations can be exported from a module.
|
|
@ -1,9 +1,9 @@
|
|||
tests/cases/compiler/file2.ts(1,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(1,14): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(2,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(2,14): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(3,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(4,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(1,9): error TS2661: Cannot export 'NS1'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(1,14): error TS2661: Cannot export 'NS1'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(2,9): error TS2661: Cannot export 'NS2'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(2,14): error TS2661: Cannot export 'NS2'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(3,9): error TS2661: Cannot export 'NS1'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(4,9): error TS2661: Cannot export 'NS2'. Only local declarations can be exported from a module.
|
||||
|
||||
|
||||
==== tests/cases/compiler/file1.d.ts (0 errors) ====
|
||||
|
@ -19,17 +19,17 @@ tests/cases/compiler/file2.ts(4,9): error TS2661: Cannot re-export name that is
|
|||
==== tests/cases/compiler/file2.ts (6 errors) ====
|
||||
export {NS1, NS1 as NNS1};
|
||||
~~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'NS1'. Only local declarations can be exported from a module.
|
||||
~~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'NS1'. Only local declarations can be exported from a module.
|
||||
export {NS2, NS2 as NNS2};
|
||||
~~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'NS2'. Only local declarations can be exported from a module.
|
||||
~~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'NS2'. Only local declarations can be exported from a module.
|
||||
export {NS1 as NNNS1};
|
||||
~~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'NS1'. Only local declarations can be exported from a module.
|
||||
export {NS2 as NNNS2};
|
||||
~~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'NS2'. Only local declarations can be exported from a module.
|
|
@ -1,9 +1,9 @@
|
|||
tests/cases/compiler/file2.ts(1,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(1,15): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(2,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(2,15): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(3,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(4,9): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/file2.ts(1,9): error TS2661: Cannot export 'Cls1'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(1,15): error TS2661: Cannot export 'Cls1'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(2,9): error TS2661: Cannot export 'Cls2'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(2,15): error TS2661: Cannot export 'Cls2'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(3,9): error TS2661: Cannot export 'Cls1'. Only local declarations can be exported from a module.
|
||||
tests/cases/compiler/file2.ts(4,9): error TS2661: Cannot export 'Cls2'. Only local declarations can be exported from a module.
|
||||
|
||||
|
||||
==== tests/cases/compiler/file1.d.ts (0 errors) ====
|
||||
|
@ -19,17 +19,17 @@ tests/cases/compiler/file2.ts(4,9): error TS2661: Cannot re-export name that is
|
|||
==== tests/cases/compiler/file2.ts (6 errors) ====
|
||||
export {Cls1, Cls1 as CCls1};
|
||||
~~~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'Cls1'. Only local declarations can be exported from a module.
|
||||
~~~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'Cls1'. Only local declarations can be exported from a module.
|
||||
export {Cls2, Cls2 as CCls2};
|
||||
~~~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'Cls2'. Only local declarations can be exported from a module.
|
||||
~~~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'Cls2'. Only local declarations can be exported from a module.
|
||||
export {Cls1 as CCCls1};
|
||||
~~~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'Cls1'. Only local declarations can be exported from a module.
|
||||
export {Cls2 as CCCls2};
|
||||
~~~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'Cls2'. Only local declarations can be exported from a module.
|
|
@ -1,8 +1,8 @@
|
|||
tests/cases/compiler/a.ts(2,10): error TS2661: Cannot re-export name that is not defined in the module.
|
||||
tests/cases/compiler/a.ts(2,10): error TS2661: Cannot export 'undefined'. Only local declarations can be exported from a module.
|
||||
|
||||
|
||||
==== tests/cases/compiler/a.ts (1 errors) ====
|
||||
|
||||
export { undefined };
|
||||
~~~~~~~~~
|
||||
!!! error TS2661: Cannot re-export name that is not defined in the module.
|
||||
!!! error TS2661: Cannot export 'undefined'. Only local declarations can be exported from a module.
|
Loading…
Reference in a new issue