Skip to content

Commit 6161ec6

Browse files
Sergey Vakhramovwagnermaciel
Sergey Vakhramov
authored andcommitted
fix(cdk/portal): write generic type for TemplateRef in the Template Portal code example (#23818)
(cherry picked from commit 2e2fcc8)
1 parent 8e24b81 commit 6161ec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdk/portal/portal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Usage:
7070
```
7171

7272
```ts
73-
@ViewChild('templatePortalContent') templatePortalContent: TemplateRef<unknow>;
73+
@ViewChild('templatePortalContent') templatePortalContent: TemplateRef<unknown>;
7474

7575
ngAfterViewInit() {
7676
this.templatePortal = new TemplatePortal(

0 commit comments

Comments
 (0)