website refactor
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { ValueObject } from '@core/shared/domain';
|
||||
import type { ValueObject } from '@core/shared/domain/ValueObject';
|
||||
import { WeekdaySet } from './WeekdaySet';
|
||||
import { MonthlyRecurrencePattern } from './MonthlyRecurrencePattern';
|
||||
import { RacingDomainValidationError } from '../errors/RacingDomainError';
|
||||
@@ -64,7 +64,7 @@ export class RecurrenceStrategy implements ValueObject<RecurrenceStrategyProps>
|
||||
});
|
||||
}
|
||||
|
||||
equals(other: IValueObject<RecurrenceStrategyProps>): boolean {
|
||||
equals(other: ValueObject<RecurrenceStrategyProps>): boolean {
|
||||
const otherProps = other.props;
|
||||
if (this.strategy.kind !== otherProps.kind) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user