import { StatsCategoryType } from './stats-category.type' ; export class StatsCategory { readonly id : StatsCategoryType ; readonly name : string ; readonly icon : string ; readonly enabled : boolean ; readonly disabledTooltip ? : string ; public static create ( base ) { return Object . assign ( new StatsCategory ( ) , base ) ; } }