File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14059,13 +14059,9 @@ namespace ts {
1405914059 // Check whether the file has declared it is the default lib,
1406014060 // and whether the user has specifically chosen to avoid checking it.
1406114061 if (compilerOptions.skipDefaultLibCheck) {
14062- if (node.isDefaultLib) {
14063- return;
14064- }
14065-
1406614062 // If the user specified '--noLib' and a file has a '/// <reference no-default-lib="true"/>',
1406714063 // then we should treat that file as a default lib.
14068- if (compilerOptions.noLib && node.hasNoDefaultLib) {
14064+ if (node.hasNoDefaultLib) {
1406914065 return;
1407014066 }
1407114067 }
Original file line number Diff line number Diff line change @@ -835,7 +835,6 @@ namespace ts {
835835 processImportedModules ( file , basePath ) ;
836836
837837 if ( isDefaultLib ) {
838- file . isDefaultLib = true ;
839838 files . unshift ( file ) ;
840839 }
841840 else {
Original file line number Diff line number Diff line change @@ -1285,7 +1285,6 @@ namespace ts {
12851285 // The first node that causes this file to be an external module
12861286 /* @internal */ externalModuleIndicator : Node ;
12871287
1288- /* @internal */ isDefaultLib : boolean ;
12891288 /* @internal */ identifiers : Map < string > ;
12901289 /* @internal */ nodeCount : number ;
12911290 /* @internal */ identifierCount : number ;
You can’t perform that action at this time.
0 commit comments