website refactor
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { IValueObject } from '@core/shared/domain';
|
||||
import type { ValueObject } from '@core/shared/domain';
|
||||
import { RacingDomainValidationError } from '../errors/RacingDomainError';
|
||||
|
||||
export class Points implements IValueObject<{ value: number }> {
|
||||
export class Points implements ValueObject<{ value: number }> {
|
||||
private constructor(private readonly value: number) {}
|
||||
|
||||
get props(): { value: number } {
|
||||
|
||||
Reference in New Issue
Block a user