Fix comments

This commit is contained in:
Yui T 2014-10-09 10:12:49 -07:00
parent 90ed17b21e
commit ab5f0241eb
2 changed files with 4 additions and 2 deletions

View File

@ -3258,7 +3258,7 @@ module ts {
emitFile(jsFilePath, targetSourceFile);
}
else if (!isDeclarationFile(targetSourceFile) && compilerOptions.out) {
// Otherwise, if --out is specified and targetSourceFile shouldn't be emitted to own file,
// Otherwise, if --out is specified and targetSourceFile is not a declaration file,
// Emit all, non-external-module file, into one single output file
emitFile(compilerOptions.out);
}

View File

@ -4,7 +4,6 @@
// @out: declSingle.js
// @Filename: decl.d.ts
// @emitThisFile: true
//// interface I { a: string; }
// @Filename: inputFile2.ts
@ -17,5 +16,8 @@
// @Filename: inputFile4.ts
//// var x1:number = 1000;
// @Filename: inputFile5.js
//// var x2 = 1000;
debugger;
verify.baselineGetEmitOutput();