17 lines
No EOL
530 B
Text
17 lines
No EOL
530 B
Text
==== tests/cases/conformance/externalModules/foo2.ts (2 errors) ====
|
|
import foo1 = require('./foo1');
|
|
export = foo1.x; // Error, export assignment must be identifier only
|
|
~
|
|
!!! ';' expected.
|
|
~
|
|
!!! Cannot find name 'x'.
|
|
|
|
==== tests/cases/conformance/externalModules/foo1.ts (1 errors) ====
|
|
export function x(){
|
|
~~~~~~~~~~~~~~~~~~~~
|
|
return true;
|
|
~~~~~~~~~~~~~
|
|
}
|
|
~
|
|
!!! Cannot compile external modules unless the '--module' flag is provided.
|
|
|