src/ts/redux/actions/defilterTimetable.ts
Function GenerateNewState
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected GenerateNewState(state: IMasterState): IMasterState {
const newClickedTimeConstraint =
state.SetTimeConstraintState.ClickedTimeConstraint.slice();
newClickedTimeConstraint[this.clickedBox.Day] ^= this.clickedBox.TimePeriod;
const newUidsOfClickedBox =