Skip to content

Commit 2e2fcc8

Browse files
author
Sergey Vakhramov
authored
fix(cdk/portal): write generic type for TemplateRef in the Template Portal code example (#23818)
1 parent 6e97aa4 commit 2e2fcc8

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)