(thingOffset: Offsets, id: Id)
| 73 | }; |
| 74 | |
| 75 | const delExtraThingById = (thingOffset: Offsets, id: Id): void => { |
| 76 | setExtraThingsById((extraThingsById) => |
| 77 | !objHas(extraThingsById[thingOffset], id) |
| 78 | ? extraThingsById |
| 79 | : (arrayWith( |
| 80 | extraThingsById, |
| 81 | thingOffset, |
| 82 | objDel( |
| 83 | extraThingsById[thingOffset] as IdObj< |
| 84 | ThingsByOffset[typeof thingOffset] |
| 85 | >, |
| 86 | id, |
| 87 | ), |
| 88 | ) as ExtraThingsById), |
| 89 | ); |
| 90 | }; |
| 91 | |
| 92 | const contextValue = createMemo<ContextValue>(() => [ |
| 93 | ...mergeParentThings( |
no test coverage detected
searching dependent graphs…