Update LKG.

This commit is contained in:
Cyrus Najmabadi
2014-11-26 02:24:03 -08:00
parent 68045a382b
commit cf3d28400e
2 changed files with 4 additions and 2 deletions

View File

@@ -9104,7 +9104,8 @@ var ts;
}
}
function emitModuleDeclaration(node) {
if (ts.getModuleInstanceState(node) !== 1 /* Instantiated */) {
var shouldEmit = ts.getModuleInstanceState(node) === 1 /* Instantiated */ || (ts.getModuleInstanceState(node) === 2 /* ConstEnumOnly */ && compilerOptions.preserveConstEnums);
if (!shouldEmit) {
return emitPinnedOrTripleSlashComments(node);
}
emitLeadingComments(node);

View File

@@ -8909,7 +8909,8 @@ var ts;
}
}
function emitModuleDeclaration(node) {
if (ts.getModuleInstanceState(node) !== 1 /* Instantiated */) {
var shouldEmit = ts.getModuleInstanceState(node) === 1 /* Instantiated */ || (ts.getModuleInstanceState(node) === 2 /* ConstEnumOnly */ && compilerOptions.preserveConstEnums);
if (!shouldEmit) {
return emitPinnedOrTripleSlashComments(node);
}
emitLeadingComments(node);