(unsafeMap: Map<string, any>)
| 164 | |
| 165 | /** @internal */ |
| 166 | export const makeContext = <Services>(unsafeMap: Map<string, any>): C.Context<Services> => { |
| 167 | const context = Object.create(ContextProto) |
| 168 | context.unsafeMap = unsafeMap |
| 169 | return context |
| 170 | } |
| 171 | |
| 172 | const serviceNotFoundError = (tag: C.Tag<any, any>) => { |
| 173 | const error = new Error(`Service not found${tag.key ? `: ${String(tag.key)}` : ""}`) |
no test coverage detected