Skip to content

Commit 1413677

Browse files
crisbetoAndrewKushnir
authored andcommitted
refactor(core): remove unused field (angular#59184)
Removes the `prefetchTriggers` field from the `TDeferBlockDetails` since we weren't reading or writing to it anywhere. PR Close angular#59184
1 parent 4a2df56 commit 1413677

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

packages/core/src/defer/instructions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ export function ɵɵdefer(
119119
loadingPromise: null,
120120
providers: null,
121121
hydrateTriggers: null,
122-
prefetchTriggers: null,
123122
flags: flags ?? TDeferDetailsFlags.Default,
124123
};
125124
enableTimerScheduling?.(tView, tDetails, placeholderConfigIndex, loadingConfigIndex);

packages/core/src/defer/interfaces.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,6 @@ export interface TDeferBlockDetails {
140140
*/
141141
hydrateTriggers: Map<DeferBlockTrigger, HydrateTriggerDetails | null> | null;
142142

143-
/**
144-
* List of prefetch triggers for a given block
145-
*/
146-
prefetchTriggers: Set<DeferBlockTrigger> | null;
147-
148143
/**
149144
* Defer block flags, which should be used for all
150145
* instances of a given defer block (the flags that should be

0 commit comments

Comments
 (0)