mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
Update LKG.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user