do to formatters
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
import { ViewModel } from "../contracts/view-models/ViewModel";
|
||||
import type { LeagueScheduleRaceViewModel } from "./LeagueScheduleRaceViewModel";
|
||||
import type { LeagueScheduleViewData } from "../view-data/LeagueScheduleViewData";
|
||||
import type { LeagueScheduleRaceViewModel } from "./LeagueScheduleRaceViewModel";
|
||||
|
||||
export class LeagueScheduleViewModel extends ViewModel {
|
||||
private readonly data: LeagueScheduleViewData;
|
||||
readonly races: LeagueScheduleRaceViewModel[];
|
||||
|
||||
constructor(data: LeagueScheduleViewData) {
|
||||
super();
|
||||
this.data = data;
|
||||
this.races = data.races;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user