2015-04-27 03:31:47 +02:00
|
|
|
tests/cases/conformance/externalModules/foo_1.ts(1,22): error TS2307: Cannot find module './foo_0.js'.
|
2014-09-12 22:35:07 +02:00
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/conformance/externalModules/foo_1.ts (1 errors) ====
|
|
|
|
import foo = require('./foo_0.js');
|
|
|
|
~~~~~~~~~~~~
|
2015-04-27 03:31:47 +02:00
|
|
|
!!! error TS2307: Cannot find module './foo_0.js'.
|
2014-07-13 01:04:16 +02:00
|
|
|
var x = foo.foo + 42;
|
|
|
|
|
|
|
|
==== tests/cases/conformance/externalModules/foo_0.ts (0 errors) ====
|
|
|
|
export var foo = 42;
|
|
|
|
|