import { IScore } from '@app/core/interfaces' ; export class Score implements IScore { total : number = 0 ; correct : number = 0 ; percentage : number = 0 ; constructor ( values ? ) { if ( values ) { Object . assign ( this , values ) ; } } }