(serviceInterface: ServiceInterface)
| 202 | * @param serviceInterface - Service interface |
| 203 | */ |
| 204 | export function asService(serviceInterface: ServiceInterface): BindingTemplate { |
| 205 | return function serviceTemplate(binding: Binding) { |
| 206 | binding.tag({ |
| 207 | [ContextTags.TYPE]: CoreTags.SERVICE, |
| 208 | [CoreTags.SERVICE_INTERFACE]: serviceInterface, |
| 209 | }); |
| 210 | }; |
| 211 | } |
no test coverage detected