mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 21:06:50 -05:00
update comment
This commit is contained in:
@@ -1063,7 +1063,7 @@ namespace ts {
|
||||
programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Cannot_compile_modules_into_es6_when_targeting_ES5_or_lower));
|
||||
}
|
||||
|
||||
// Cannot specify module gen that isn't amd, umd, or system with --out
|
||||
// Cannot specify module gen that isn't amd or system with --out
|
||||
if (outFile && options.module && options.module !== ModuleKind.AMD && options.module !== ModuleKind.System) {
|
||||
programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Only_amd_and_system_modules_are_supported_alongside_0, options.out ? "out" : "outFile"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user