From aed2782c4aa17e6e0af10ddadd8d3ac44e155350 Mon Sep 17 00:00:00 2001 From: Amadou Sall Date: Fri, 19 Feb 2021 14:46:01 +0100 Subject: [PATCH] docs: the token should be associated with LibHeaderComponent (#40922) PR Close #40922 --- aio/content/guide/lightweight-injection-tokens.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/lightweight-injection-tokens.md b/aio/content/guide/lightweight-injection-tokens.md index cbaecee5ff..0849eab28a 100644 --- a/aio/content/guide/lightweight-injection-tokens.md +++ b/aio/content/guide/lightweight-injection-tokens.md @@ -152,7 +152,7 @@ abstract class LibHeaderToken { @Component({ selector: 'lib-header', providers: [ - {provide: LibHeaderToken, useExisting: LibHeader} + {provide: LibHeaderToken, useExisting: LibHeaderComponent} ] ..., })