feedback form pr, new baselines

This commit is contained in:
Wesley Wigham
2015-10-30 14:52:45 -07:00
parent 6c812420ec
commit 95a3fc7143
661 changed files with 45 additions and 32534 deletions

View File

@@ -1036,7 +1036,7 @@ namespace ts {
}
// Cannot specify module gen that isn't amd or system with --out
if (outFile && options.module && options.module !== ModuleKind.AMD && options.module !== ModuleKind.System) {
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"));
}