( thingOrThingId: MaybeGetter<UsedThing | Id | undefined>, offset: number, )
| 204 | ): UsedThing | undefined => getThing(getContextValue(), thingOrThingId, offset); |
| 205 | |
| 206 | const resolveProvidedThing = <UsedThing extends Thing>( |
| 207 | thingOrThingId: MaybeGetter<UsedThing | Id | undefined>, |
| 208 | offset: number, |
| 209 | ): (() => UsedThing | undefined) => { |
| 210 | const contextValue = getContextValue(); |
| 211 | return () => |
| 212 | getThing<UsedThing>(contextValue, maybeGet(thingOrThingId), offset); |
| 213 | }; |
| 214 | |
| 215 | const getThingIds = (contextValue: ContextValue, offset: number): Ids => |
| 216 | objIds((contextValue[offset * 2 + 1] ?? EMPTY_OBJ) as IdObj<unknown>); |
no test coverage detected
searching dependent graphs…