(state: CurrentCollection | undefined, isChanged: boolean)
| 49 | } |
| 50 | |
| 51 | function setIsChanged(state: CurrentCollection | undefined, isChanged: boolean) { |
| 52 | if (!state) return state; |
| 53 | return { |
| 54 | ...state, |
| 55 | isChanged, |
| 56 | }; |
| 57 | } |
| 58 | |
| 59 | function patchData(state: CurrentCollection | undefined, data: any) { |
| 60 | if (!state) return state; |
no outgoing calls
no test coverage detected