2015-04-27 03:31:47 +02:00
|
|
|
tests/cases/conformance/externalModules/foo1.ts(1,17): error TS1148: Cannot compile modules unless the '--module' flag is provided.
|
2014-09-12 22:35:07 +02:00
|
|
|
|
|
|
|
|
2015-02-26 01:03:51 +01:00
|
|
|
==== tests/cases/conformance/externalModules/foo2.ts (0 errors) ====
|
2014-07-13 01:04:16 +02:00
|
|
|
import foo1 = require('./foo1');
|
2015-02-26 01:03:51 +01:00
|
|
|
export = foo1.x; // Ok
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
==== tests/cases/conformance/externalModules/foo1.ts (1 errors) ====
|
|
|
|
export function x(){
|
2015-03-05 03:15:55 +01:00
|
|
|
~
|
2015-04-27 03:31:47 +02:00
|
|
|
!!! error TS1148: Cannot compile modules unless the '--module' flag is provided.
|
2014-07-13 01:04:16 +02:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|