(type: string)
| 50 | } |
| 51 | |
| 52 | export function createModeUpdateThunk<T>(type: string) { |
| 53 | return createAppAsyncThunk<void, { server: ModeState; value: T }>( |
| 54 | type, |
| 55 | updateModes, |
| 56 | ); |
| 57 | } |
| 58 | |
| 59 | export function addSetter<M extends ModeState, Attr extends keyof Draft<M>>( |
| 60 | builder: ActionReducerMapBuilder<M[]>, |
no outgoing calls
no test coverage detected
searching dependent graphs…