From e7f852a74ddd0bdc80053adbbaaca0a90d3ca9b1 Mon Sep 17 00:00:00 2001 From: Sergey Vakhramov Date: Sat, 23 Oct 2021 00:27:15 +0500 Subject: [PATCH] fix(cdk/portal): write generic type for TemplateRef in the Template Portal code example --- src/cdk/portal/portal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cdk/portal/portal.md b/src/cdk/portal/portal.md index 4e375b4640ca..a5919ae7afe4 100644 --- a/src/cdk/portal/portal.md +++ b/src/cdk/portal/portal.md @@ -70,7 +70,7 @@ Usage: ``` ```ts -@ViewChild('templatePortalContent') templatePortalContent: TemplateRef; +@ViewChild('templatePortalContent') templatePortalContent: TemplateRef; ngAfterViewInit() { this.templatePortal = new TemplatePortal(