From 559797c19d87dbef5fb940ff110ef3e1081d65bb Mon Sep 17 00:00:00 2001 From: lyutails <101958335+lyutails@users.noreply.github.com> Date: Tue, 13 Jan 2026 12:51:04 +0300 Subject: [PATCH] docs: update hierarchical-dependency-injection.md VillainsService highly likely misspelled and then written as VillainService with 's' missing (cherry picked from commit 910768f5cc20a59e6a0f80a208d6cf67852cbbcb) --- .../src/content/guide/di/hierarchical-dependency-injection.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adev/src/content/guide/di/hierarchical-dependency-injection.md b/adev/src/content/guide/di/hierarchical-dependency-injection.md index 13a09681388..72df615868b 100644 --- a/adev/src/content/guide/di/hierarchical-dependency-injection.md +++ b/adev/src/content/guide/di/hierarchical-dependency-injection.md @@ -959,8 +959,8 @@ export class VillainsList {} By providing `VillainsService` in the `VillainsList` metadata and nowhere else, the service becomes available only in the `VillainsList` and its subcomponent tree. -`VillainService` is a singleton with respect to `VillainsList` because that is where it is declared. -As long as `VillainsList` does not get destroyed it will be the same instance of `VillainService` but if there are multiple instances of `VillainsList`, then each instance of `VillainsList` will have its own instance of `VillainService`. +`VillainsService` is a singleton with respect to `VillainsList` because that is where it is declared. +As long as `VillainsList` does not get destroyed it will be the same instance of `VillainsService` but if there are multiple instances of `VillainsList`, then each instance of `VillainsList` will have its own instance of `VillainsService`. ### Scenario: multiple edit sessions