import { Component , ChangeDetectionStrategy , OnDestroy , ChangeDetectorRef } from '@angular/core' ; import { Store } from '@ngrx/store' ; import { CoreState } from 'shared-library/core/store' ; import { UserActions } from 'shared-library/core/store/actions' ; import { AutoUnsubscribe } from 'shared-library/shared/decorators' ; import { RecentGames } from './recent-games' ; @ Component ( { selector : 'recent-games' , templateUrl : './recent-games.component.html' , styleUrls : [ './recent-games.component.scss' ] , changeDetection : ChangeDetectionStrategy . OnPush } ) @ AutoUnsubscribe ( { arrayName : "subscriptions" } ) export class RecentGamesComponent extends RecentGames implements OnDestroy { constructor ( store , cd , userActions ) { super ( store , cd , userActions ) ; } ngOnDestroy ( ) { } }