website refactor
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { ValueObject } from '@core/shared/domain';
|
||||
import { ValueObject } from '@core/shared/domain/ValueObject';
|
||||
import { AdminDomainValidationError } from '../errors/AdminDomainError';
|
||||
|
||||
export type UserStatusValue = string;
|
||||
@@ -41,7 +41,7 @@ export class UserStatus implements ValueObject<UserStatusProps> {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
equals(other: IValueObject<UserStatusProps>): boolean {
|
||||
equals(other: ValueObject<UserStatusProps>): boolean {
|
||||
return this.value === other.props.value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user