(...tags: Tags)
| 327 | /** @internal */ |
| 328 | export const omit = |
| 329 | <Tags extends ReadonlyArray<C.Tag<any, any>>>(...tags: Tags) => |
| 330 | <Services>(self: C.Context<Services>): C.Context< |
| 331 | Exclude<Services, C.Tag.Identifier<Tags[number]>> |
| 332 | > => { |
| 333 | const newEnv = new Map(self.unsafeMap) |
| 334 | for (const tag of tags) { |
| 335 | newEnv.delete(tag.key) |
| 336 | } |
| 337 | return makeContext(newEnv) |
| 338 | } |
nothing calls this directly
no test coverage detected