PR feedback.
This commit is contained in:
parent
2de07f3563
commit
fcf6129c7b
1 changed files with 2 additions and 2 deletions
|
@ -11368,8 +11368,6 @@ module ts {
|
|||
function checkSourceFileWorker(node: SourceFile) {
|
||||
let links = getNodeLinks(node);
|
||||
if (!(links.flags & NodeCheckFlags.TypeChecked)) {
|
||||
links.flags |= NodeCheckFlags.TypeChecked;
|
||||
|
||||
if (node.isDefaultLib && compilerOptions.skipDefaultLibCheck) {
|
||||
return;
|
||||
}
|
||||
|
@ -11405,6 +11403,8 @@ module ts {
|
|||
if (emitParam) {
|
||||
links.flags |= NodeCheckFlags.EmitParam;
|
||||
}
|
||||
|
||||
links.flags |= NodeCheckFlags.TypeChecked;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue