mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
refactor(core): remove circular dep in iterable differs. (#59083)
Use `import type` to break a phantom circular import in iterable differs. PR Close #59083
This commit is contained in:
parent
5a4ac89376
commit
039bcad76a
3 changed files with 2 additions and 10 deletions
|
|
@ -1,12 +1,4 @@
|
|||
[
|
||||
[
|
||||
"packages/core/src/change_detection/differs/default_iterable_differ.ts",
|
||||
"packages/core/src/change_detection/differs/iterable_differs.ts"
|
||||
],
|
||||
[
|
||||
"packages/core/src/change_detection/differs/default_keyvalue_differ.ts",
|
||||
"packages/core/src/change_detection/differs/keyvalue_differs.ts"
|
||||
],
|
||||
[
|
||||
"packages/core/src/di/injectable.ts",
|
||||
"packages/core/src/di/jit/injectable.ts"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import {Writable} from '../../interface/type';
|
|||
import {isListLikeIterable, iterateListLike} from '../../util/iterable';
|
||||
import {stringify} from '../../util/stringify';
|
||||
|
||||
import {
|
||||
import type {
|
||||
IterableChangeRecord,
|
||||
IterableChanges,
|
||||
IterableDiffer,
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import {RuntimeError, RuntimeErrorCode} from '../../errors';
|
|||
import {isJsObject} from '../../util/iterable';
|
||||
import {stringify} from '../../util/stringify';
|
||||
|
||||
import {
|
||||
import type {
|
||||
KeyValueChangeRecord,
|
||||
KeyValueChanges,
|
||||
KeyValueDiffer,
|
||||
|
|
|
|||
Loading…
Reference in a new issue