diff --git a/aio/content/examples/dynamic-component-loader/src/app/ad-banner.component.ts b/aio/content/examples/dynamic-component-loader/src/app/ad-banner.component.ts index 5afa512d7b..0dc7a9252f 100644 --- a/aio/content/examples/dynamic-component-loader/src/app/ad-banner.component.ts +++ b/aio/content/examples/dynamic-component-loader/src/app/ad-banner.component.ts @@ -21,7 +21,7 @@ export class AdBannerComponent implements OnInit, OnDestroy { @Input() ads: AdItem[] = []; currentAdIndex = -1; @ViewChild(AdDirective, {static: true}) adHost!: AdDirective; - interval: any; + interval: number | undefined; constructor(private componentFactoryResolver: ComponentFactoryResolver) { }