13 lines
443 B
TypeScript
13 lines
443 B
TypeScript
import type { AnalyticsService } from './analytics/analytics-service';
|
|
import type { CacheService } from './cache/cache-service';
|
|
import type { ErrorReportingService } from './errors/error-reporting-service';
|
|
|
|
// Simple constructor-based DI container.
|
|
export class AppServices {
|
|
constructor(
|
|
public readonly analytics: AnalyticsService,
|
|
public readonly errors: ErrorReportingService,
|
|
public readonly cache: CacheService
|
|
) {}
|
|
}
|