@@ -717,7 +717,7 @@ function forEachAncestorProject<T>(
717
717
while ( true ) {
718
718
// Skip if project is not composite and we are only looking for solution
719
719
if (
720
- ! project . isInitialLoadPending ( ) &&
720
+ ! project . initialLoadPending &&
721
721
(
722
722
! project . getCompilerOptions ( ) . composite ||
723
723
project . getCompilerOptions ( ) . disableSolutionSearching
@@ -747,7 +747,7 @@ function forEachAncestorProject<T>(
747
747
748
748
// If this ancestor is new and was delay loaded, then set the project as potential project reference
749
749
if (
750
- ancestor . project . isInitialLoadPending ( ) &&
750
+ ancestor . project . initialLoadPending &&
751
751
project . getCompilerOptions ( ) . composite
752
752
) {
753
753
// Set a potential project reference
@@ -910,7 +910,7 @@ function forEachAnyProjectReferenceKind<T>(
910
910
) : T | undefined {
911
911
return project . getCurrentProgram ( ) ?
912
912
project . forEachResolvedProjectReference ( cb ) :
913
- project . isInitialLoadPending ( ) ?
913
+ project . initialLoadPending ?
914
914
forEachPotentialProjectReference ( project , cbPotentialProjectRef ) :
915
915
forEach ( project . getProjectReferences ( ) , cbProjectRef ) ;
916
916
}
@@ -1969,7 +1969,7 @@ export class ProjectService {
1969
1969
scheduledAnyProjectUpdate = true ;
1970
1970
if ( projectCanonicalPath === canonicalConfigFilePath ) {
1971
1971
// Skip refresh if project is not yet loaded
1972
- if ( project . isInitialLoadPending ( ) ) return ;
1972
+ if ( project . initialLoadPending ) return ;
1973
1973
project . pendingUpdateLevel = ProgramUpdateLevel . Full ;
1974
1974
project . pendingUpdateReason = loadReason ;
1975
1975
this . delayUpdateProjectGraph ( project ) ;
@@ -2047,7 +2047,7 @@ export class ProjectService {
2047
2047
2048
2048
// If this was not already updated, and its new project, schedule for update
2049
2049
// Existing projects dont need to update if they were not using the changed config in any way
2050
- if ( tryAddToSet ( updatedProjects , projectForInfo ) && projectForInfo . isInitialLoadPending ( ) ) {
2050
+ if ( tryAddToSet ( updatedProjects , projectForInfo ) && projectForInfo . initialLoadPending ) {
2051
2051
this . delayUpdateProjectGraph ( projectForInfo ) ;
2052
2052
}
2053
2053
} ) ;
@@ -3054,7 +3054,7 @@ export class ProjectService {
3054
3054
* @internal
3055
3055
*/
3056
3056
reloadConfiguredProject ( project : ConfiguredProject , reason : string ) {
3057
- project . isInitialLoadPending = returnFalse ;
3057
+ project . initialLoadPending = false ;
3058
3058
project . pendingUpdateReason = undefined ;
3059
3059
project . pendingUpdateLevel = ProgramUpdateLevel . Update ;
3060
3060
@@ -3867,7 +3867,7 @@ export class ProjectService {
3867
3867
const reason = `Reloading configured project in external project: ${ externalProjectName } ` ;
3868
3868
projects . forEach ( project => {
3869
3869
if ( this . getHostPreferences ( ) . lazyConfiguredProjectsFromExternalProject ) {
3870
- if ( ! project . isInitialLoadPending ( ) ) {
3870
+ if ( ! project . initialLoadPending ) {
3871
3871
this . clearSemanticCache ( project ) ;
3872
3872
project . pendingUpdateLevel = ProgramUpdateLevel . Full ;
3873
3873
project . pendingUpdateReason = reloadReason ( reason ) ;
@@ -4330,7 +4330,7 @@ export class ProjectService {
4330
4330
/** @internal */
4331
4331
loadAncestorProjectTree ( forProjects ?: ReadonlyCollection < string > ) {
4332
4332
forProjects ??= new Set (
4333
- mapDefinedIterator ( this . configuredProjects . entries ( ) , ( [ key , project ] ) => ! project . isInitialLoadPending ( ) ? key : undefined ) ,
4333
+ mapDefinedIterator ( this . configuredProjects . entries ( ) , ( [ key , project ] ) => ! project . initialLoadPending ? key : undefined ) ,
4334
4334
) ;
4335
4335
4336
4336
const seenProjects = new Set < NormalizedPath > ( ) ;
0 commit comments