refactor(core): remove circular dep in LView & LContainer definitions (#59083)

Use `import type` to break phantom circular imports in the runtime
definitions of `LView` and `LContainer`.

PR Close #59083
This commit is contained in:
Alex Rickabaugh 2024-12-05 13:16:15 -08:00
parent 8cea383cc1
commit 9d3ced6636
2 changed files with 1 additions and 6 deletions

View file

@ -1,8 +1,4 @@
[
[
"packages/core/src/render3/interfaces/container.ts",
"packages/core/src/render3/interfaces/view.ts"
],
[
"packages/router/src/directives/router_outlet.ts",
"packages/router/src/router_outlet_context.ts"

View file

@ -13,11 +13,10 @@ import {ProviderToken} from '../../di/provider_token';
import {DehydratedView} from '../../hydration/interfaces';
import {SchemaMetadata} from '../../metadata/schema';
import {Sanitizer} from '../../sanitization/sanitizer';
import type {AfterRenderManager} from '../after_render/manager';
import type {ReactiveLViewConsumer} from '../reactive_lview_consumer';
import type {ViewEffectNode} from '../reactivity/effect';
import {LContainer} from './container';
import type {LContainer} from './container';
import {
ComponentDef,
ComponentTemplate,