diff --git a/packages/examples/core/di/ts/contentChild/content_child_howto.ts b/packages/examples/core/di/ts/contentChild/content_child_howto.ts index 1000fb3a62..5bcaa1afda 100644 --- a/packages/examples/core/di/ts/contentChild/content_child_howto.ts +++ b/packages/examples/core/di/ts/contentChild/content_child_howto.ts @@ -15,7 +15,6 @@ class ChildDirective { @Directive({selector: 'someDir'}) class SomeDir implements AfterContentInit { - // TODO(issue/24571): remove '!'. @ContentChild(ChildDirective) contentChild !: ChildDirective; ngAfterContentInit() { diff --git a/packages/examples/core/di/ts/contentChildren/content_children_example.ts b/packages/examples/core/di/ts/contentChildren/content_children_example.ts index d298a93442..b0befe6709 100644 --- a/packages/examples/core/di/ts/contentChildren/content_children_example.ts +++ b/packages/examples/core/di/ts/contentChildren/content_children_example.ts @@ -23,9 +23,7 @@ export class Pane { ` }) export class Tab { - // TODO(issue/24571): remove '!'. @ContentChildren(Pane) topLevelPanes !: QueryList; - // TODO(issue/24571): remove '!'. @ContentChildren(Pane, {descendants: true}) arbitraryNestedPanes !: QueryList; get serializedPanes(): string {