docs(core): cleanup todo notes in ContentChild documentation examples (#26543)
PR Close #26543
This commit is contained in:
parent
4efb460127
commit
83c9bff242
|
@ -15,7 +15,6 @@ class ChildDirective {
|
|||
|
||||
@Directive({selector: 'someDir'})
|
||||
class SomeDir implements AfterContentInit {
|
||||
// TODO(issue/24571): remove '!'.
|
||||
@ContentChild(ChildDirective) contentChild !: ChildDirective;
|
||||
|
||||
ngAfterContentInit() {
|
||||
|
|
|
@ -23,9 +23,7 @@ export class Pane {
|
|||
`
|
||||
})
|
||||
export class Tab {
|
||||
// TODO(issue/24571): remove '!'.
|
||||
@ContentChildren(Pane) topLevelPanes !: QueryList<Pane>;
|
||||
// TODO(issue/24571): remove '!'.
|
||||
@ContentChildren(Pane, {descendants: true}) arbitraryNestedPanes !: QueryList<Pane>;
|
||||
|
||||
get serializedPanes(): string {
|
||||
|
|
Loading…
Reference in New Issue