18 lines
No EOL
670 B
Text
18 lines
No EOL
670 B
Text
tests/cases/conformance/externalModules/foo1.ts(1,17): error TS1148: Cannot compile modules unless the '--module' flag is provided.
|
|
|
|
|
|
==== tests/cases/conformance/externalModules/foo3.ts (0 errors) ====
|
|
import foo2 = require('./foo2');
|
|
var x = foo2(); // should be boolean
|
|
==== tests/cases/conformance/externalModules/foo1.ts (1 errors) ====
|
|
export function x(){
|
|
~
|
|
!!! error TS1148: Cannot compile modules unless the '--module' flag is provided.
|
|
return true;
|
|
}
|
|
|
|
==== tests/cases/conformance/externalModules/foo2.ts (0 errors) ====
|
|
import foo1 = require('./foo1');
|
|
var x = foo1.x;
|
|
export = x;
|
|
|