@@ -716,7 +716,7 @@ function forEachAncestorProject<T>(
716
716
while ( true ) {
717
717
// Skip if project is not composite and we are only looking for solution
718
718
if (
719
- ! project . isInitialLoadPending ( ) &&
719
+ ! project . initialLoadPending &&
720
720
(
721
721
! project . getCompilerOptions ( ) . composite ||
722
722
project . getCompilerOptions ( ) . disableSolutionSearching
@@ -746,7 +746,7 @@ function forEachAncestorProject<T>(
746
746
747
747
// If this ancestor is new and was delay loaded, then set the project as potential project reference
748
748
if (
749
- ancestor . project . isInitialLoadPending ( ) &&
749
+ ancestor . project . initialLoadPending &&
750
750
project . getCompilerOptions ( ) . composite
751
751
) {
752
752
// Set a potential project reference
@@ -909,7 +909,7 @@ function forEachAnyProjectReferenceKind<T>(
909
909
) : T | undefined {
910
910
return project . getCurrentProgram ( ) ?
911
911
project . forEachResolvedProjectReference ( cb ) :
912
- project . isInitialLoadPending ( ) ?
912
+ project . initialLoadPending ?
913
913
forEachPotentialProjectReference ( project , cbPotentialProjectRef ) :
914
914
forEach ( project . getProjectReferences ( ) , cbProjectRef ) ;
915
915
}
@@ -1978,7 +1978,7 @@ export class ProjectService {
1978
1978
scheduledAnyProjectUpdate = true ;
1979
1979
if ( projectCanonicalPath === canonicalConfigFilePath ) {
1980
1980
// Skip refresh if project is not yet loaded
1981
- if ( project . isInitialLoadPending ( ) ) return ;
1981
+ if ( project . initialLoadPending ) return ;
1982
1982
project . pendingUpdateLevel = ProgramUpdateLevel . Full ;
1983
1983
project . pendingUpdateReason = loadReason ;
1984
1984
this . delayUpdateProjectGraph ( project ) ;
@@ -2056,7 +2056,7 @@ export class ProjectService {
2056
2056
2057
2057
// If this was not already updated, and its new project, schedule for update
2058
2058
// Existing projects dont need to update if they were not using the changed config in any way
2059
- if ( tryAddToSet ( updatedProjects , projectForInfo ) && projectForInfo . isInitialLoadPending ( ) ) {
2059
+ if ( tryAddToSet ( updatedProjects , projectForInfo ) && projectForInfo . initialLoadPending ) {
2060
2060
this . delayUpdateProjectGraph ( projectForInfo ) ;
2061
2061
}
2062
2062
} ) ;
@@ -3063,7 +3063,7 @@ export class ProjectService {
3063
3063
* @internal
3064
3064
*/
3065
3065
reloadConfiguredProject ( project : ConfiguredProject , reason : string ) {
3066
- project . isInitialLoadPending = returnFalse ;
3066
+ project . initialLoadPending = false ;
3067
3067
project . pendingUpdateReason = undefined ;
3068
3068
project . pendingUpdateLevel = ProgramUpdateLevel . Update ;
3069
3069
@@ -3895,7 +3895,7 @@ export class ProjectService {
3895
3895
const reason = `Reloading configured project in external project: ${ externalProjectName } ` ;
3896
3896
projects . forEach ( project => {
3897
3897
if ( this . getHostPreferences ( ) . lazyConfiguredProjectsFromExternalProject ) {
3898
- if ( ! project . isInitialLoadPending ( ) ) {
3898
+ if ( ! project . initialLoadPending ) {
3899
3899
this . clearSemanticCache ( project ) ;
3900
3900
project . pendingUpdateLevel = ProgramUpdateLevel . Full ;
3901
3901
project . pendingUpdateReason = reloadReason ( reason ) ;
@@ -4358,7 +4358,7 @@ export class ProjectService {
4358
4358
/** @internal */
4359
4359
loadAncestorProjectTree ( forProjects ?: ReadonlyCollection < string > ) {
4360
4360
forProjects ??= new Set (
4361
- mapDefinedIterator ( this . configuredProjects . entries ( ) , ( [ key , project ] ) => ! project . isInitialLoadPending ( ) ? key : undefined ) ,
4361
+ mapDefinedIterator ( this . configuredProjects . entries ( ) , ( [ key , project ] ) => ! project . initialLoadPending ? key : undefined ) ,
4362
4362
) ;
4363
4363
4364
4364
const seenProjects = new Set < NormalizedPath > ( ) ;
0 commit comments