2015-04-29 03:00:26 +02:00
|
|
|
tests/cases/compiler/file1.ts(7,15): error TS2307: Cannot find module 'bar'.
|
|
|
|
tests/cases/compiler/file2.ts(7,15): error TS2307: Cannot find module 'bar'.
|
|
|
|
tests/cases/compiler/file3.ts(2,25): error TS2307: Cannot find module 'a'.
|
2015-04-29 20:43:23 +02:00
|
|
|
tests/cases/compiler/file3.ts(4,15): error TS2307: Cannot find module 'bar'.
|
|
|
|
tests/cases/compiler/file4.ts(9,27): error TS2307: Cannot find module 'a'.
|
2015-04-29 05:17:55 +02:00
|
|
|
tests/cases/compiler/file5.ts(3,15): error TS2307: Cannot find module 'a'.
|
2015-04-20 23:17:38 +02:00
|
|
|
|
|
|
|
|
2015-04-29 01:18:33 +02:00
|
|
|
==== tests/cases/compiler/file1.ts (1 errors) ====
|
2015-04-20 23:17:38 +02:00
|
|
|
|
2015-04-29 01:18:33 +02:00
|
|
|
// set of tests cases that checks generation of local storage for exported names
|
|
|
|
|
|
|
|
|
|
|
|
export var x;
|
|
|
|
export function foo() {}
|
|
|
|
export * from 'bar';
|
|
|
|
~~~~~
|
2015-04-29 03:00:26 +02:00
|
|
|
!!! error TS2307: Cannot find module 'bar'.
|
2015-04-29 01:18:33 +02:00
|
|
|
|
|
|
|
==== tests/cases/compiler/file2.ts (1 errors) ====
|
|
|
|
|
|
|
|
var x;
|
|
|
|
var y;
|
|
|
|
export {x};
|
|
|
|
export {y as y1}
|
|
|
|
|
|
|
|
export * from 'bar';
|
|
|
|
~~~~~
|
2015-04-29 02:03:39 +02:00
|
|
|
!!! error TS2307: Cannot find module 'bar'.
|
2015-04-20 23:17:38 +02:00
|
|
|
|
2015-04-29 01:18:33 +02:00
|
|
|
==== tests/cases/compiler/file3.ts (2 errors) ====
|
|
|
|
|
|
|
|
export {x, y as z} from 'a';
|
|
|
|
~~~
|
2015-04-29 03:00:26 +02:00
|
|
|
!!! error TS2307: Cannot find module 'a'.
|
2015-04-29 20:43:23 +02:00
|
|
|
export default function foo() {}
|
2015-04-29 01:18:33 +02:00
|
|
|
export * from 'bar';
|
|
|
|
~~~~~
|
2015-04-29 03:00:26 +02:00
|
|
|
!!! error TS2307: Cannot find module 'bar'.
|
2015-04-29 01:18:33 +02:00
|
|
|
|
|
|
|
==== tests/cases/compiler/file4.ts (1 errors) ====
|
|
|
|
|
|
|
|
export var x;
|
|
|
|
export function foo() {}
|
2015-04-29 20:43:23 +02:00
|
|
|
export default function (){}
|
2015-04-29 01:18:33 +02:00
|
|
|
|
|
|
|
var z, z1;
|
|
|
|
export {z, z1 as z2};
|
|
|
|
|
|
|
|
export {s, s1 as s2} from 'a'
|
|
|
|
~~~
|
2015-04-29 05:17:55 +02:00
|
|
|
!!! error TS2307: Cannot find module 'a'.
|
|
|
|
|
|
|
|
==== tests/cases/compiler/file5.ts (1 errors) ====
|
|
|
|
|
|
|
|
function foo() {}
|
|
|
|
export * from 'a';
|
|
|
|
~~~
|
2015-04-29 03:00:26 +02:00
|
|
|
!!! error TS2307: Cannot find module 'a'.
|