diff --git a/examples/example-app-v18/src/app/app.component.ts b/examples/example-app-v18/src/app/app.component.ts index e49202d5d9..3eeb673449 100644 --- a/examples/example-app-v18/src/app/app.component.ts +++ b/examples/example-app-v18/src/app/app.component.ts @@ -1,5 +1,7 @@ import { Component } from '@angular/core'; +import { toSignal } from '@angular/core/rxjs-interop'; import { RouterLink, RouterOutlet } from '@angular/router'; +import { of } from 'rxjs'; import { BannerComponent } from './banner/banner.component'; import { WelcomeComponent } from './welcome/welcome.component'; @@ -10,4 +12,8 @@ import { WelcomeComponent } from './welcome/welcome.component'; templateUrl: './app.component.html', imports: [BannerComponent, WelcomeComponent, RouterOutlet, RouterLink], }) -export class AppComponent {} +export class AppComponent { + constructor() { + console.warn(toSignal(of([]))); + } +}