Skip to content

Commit 326337e

Browse files
alan-agius4alxhub
authored andcommitted
refactor: replace ɵPendingTasks with ɵPendingTasksInternal (#59138)
This commits remove usage of the old export. PR Close #59138
1 parent 8d7598f commit 326337e

File tree

8 files changed

+12
-11
lines changed

8 files changed

+12
-11
lines changed

adev/shared-docs/components/viewers/docs-viewer/docs-viewer.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
Type,
2626
ViewContainerRef,
2727
ViewEncapsulation,
28-
ɵPendingTasks as PendingTasks,
28+
ɵPendingTasksInternal as PendingTasks,
2929
output,
3030
} from '@angular/core';
3131
import {takeUntilDestroyed} from '@angular/core/rxjs-interop';

packages/common/http/src/interceptor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
runInInjectionContext,
1717
ɵConsole as Console,
1818
ɵformatRuntimeError as formatRuntimeError,
19-
ɵPendingTasks as PendingTasks,
19+
ɵPendingTasksInternal as PendingTasks,
2020
} from '@angular/core';
2121
import {Observable} from 'rxjs';
2222
import {finalize} from 'rxjs/operators';

packages/core/rxjs-interop/test/pending_until_event_spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9-
import {EnvironmentInjector, ɵPendingTasks as PendingTasks, ApplicationRef} from '@angular/core';
9+
import {
10+
EnvironmentInjector,
11+
ɵPendingTasksInternal as PendingTasks,
12+
ApplicationRef,
13+
} from '@angular/core';
1014
import {
1115
BehaviorSubject,
1216
EMPTY,

packages/core/src/core_private_export.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,7 @@ export {
103103
resolveComponentResources as ɵresolveComponentResources,
104104
restoreComponentResolutionQueue as ɵrestoreComponentResolutionQueue,
105105
} from './metadata/resource_loading';
106-
export {
107-
PendingTasksInternal as ɵPendingTasks, // TODO(atscott): remove once there is a release with PendingTasksInternal so adev can be updated
108-
PendingTasksInternal as ɵPendingTasksInternal,
109-
} from './pending_tasks';
106+
export {PendingTasksInternal as ɵPendingTasksInternal} from './pending_tasks';
110107
export {ALLOW_MULTIPLE_PLATFORMS as ɵALLOW_MULTIPLE_PLATFORMS} from './platform/platform';
111108
export {ReflectionCapabilities as ɵReflectionCapabilities} from './reflection/reflection_capabilities';
112109
export {AnimationRendererType as ɵAnimationRendererType} from './render/api';

packages/core/test/defer_fixture_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
import {ɵPLATFORM_BROWSER_ID as PLATFORM_BROWSER_ID} from '@angular/common';
10-
import {Component, PLATFORM_ID, ɵPendingTasks as PendingTasks} from '@angular/core';
10+
import {Component, PLATFORM_ID, ɵPendingTasksInternal as PendingTasks} from '@angular/core';
1111
import {DeferBlockBehavior, DeferBlockState, TestBed} from '@angular/core/testing';
1212
import {expect} from '@angular/platform-browser/testing/src/matchers';
1313

packages/core/testing/src/component_fixture.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
ɵgetDeferBlocks as getDeferBlocks,
2424
ɵNoopNgZone as NoopNgZone,
2525
ɵZONELESS_ENABLED as ZONELESS_ENABLED,
26-
ɵPendingTasks as PendingTasks,
26+
ɵPendingTasksInternal as PendingTasks,
2727
ɵEffectScheduler as EffectScheduler,
2828
ɵMicrotaskEffectScheduler as MicrotaskEffectScheduler,
2929
} from '@angular/core';

packages/platform-server/test/integration_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import {
4040
TransferState,
4141
Type,
4242
ViewEncapsulation,
43-
ɵPendingTasks as PendingTasks,
43+
ɵPendingTasksInternal as PendingTasks,
4444
APP_INITIALIZER,
4545
inject,
4646
getPlatform,

packages/router/src/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
Injectable,
1313
Type,
1414
ɵConsole as Console,
15-
ɵPendingTasks as PendingTasks,
15+
ɵPendingTasksInternal as PendingTasks,
1616
ɵRuntimeError as RuntimeError,
1717
} from '@angular/core';
1818
import {Observable, Subject, Subscription, SubscriptionLike} from 'rxjs';

0 commit comments

Comments
 (0)