tests/cases/conformance/scanner/ecmascript5/scannerEnum1.ts(1,17): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
==== tests/cases/conformance/scanner/ecmascript5/scannerEnum1.ts (1 errors) ====
export enum CodeGenTarget {
~~~~~~~~~~~~~
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
ES3 = 0,
ES5 = 1,
}