* Helper to check if a service has dependencies
(service: any)
| 111 | * Helper to check if a service has dependencies |
| 112 | */ |
| 113 | function hasDependencies(service: any): service is ServiceWithDependencies { |
| 114 | return !!service && typeof service.getDependencies === "function"; |
| 115 | } |
| 116 | |
| 117 | // Test implementation of BaseService |
| 118 | interface TestState { |