import { GameStat } from '../stats/game-stat' ; export class ReplaysState { readonly allReplays : readonly GameStat [ ] ; readonly isLoading : boolean = true ; public update ( base ) { return Object . assign ( new ReplaysState ( ) , this , base ) ; } }