(
...ctxs: [...{ [K in keyof T]: C.Context<T[K]> }]
)
| 297 | |
| 298 | /** @internal */ |
| 299 | export const mergeAll = <T extends Array<unknown>>( |
| 300 | ...ctxs: [...{ [K in keyof T]: C.Context<T[K]> }] |
| 301 | ): C.Context<T[number]> => { |
| 302 | const map = new Map() |
| 303 | for (let i = 0; i < ctxs.length; i++) { |
| 304 | ctxs[i].unsafeMap.forEach((value, key) => { |
| 305 | map.set(key, value) |
| 306 | }) |
| 307 | } |
| 308 | return makeContext(map) |
| 309 | } |
| 310 | |
| 311 | /** @internal */ |
| 312 | export const pick = |
nothing calls this directly
no test coverage detected