Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Romain Thouvenin 2024-03-29 14:04:57 +00:00 committed by sbriat
parent 53df6183bd
commit bd6fc1576b
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ export class CandidateEntity extends AggregateRoot<CandidateProps> {
});
},
);
return (this.props.steps as Step[])[passengerStartStepIndex].duration;
return this.props.steps![passengerStartStepIndex].duration;
};
/**