Abstract
ServiceIdentifier - Type-safe service identification token
This abstract class serves as a type token for dependency injection, allowing type-safe service registration and retrieval without strings.
Usage:
export interface IMyService { ... }export abstract class MyService extends ServiceIdentifier<IMyService> {} Copy
export interface IMyService { ... }export abstract class MyService extends ServiceIdentifier<IMyService> {}
ServiceIdentifier - Type-safe service identification token
This abstract class serves as a type token for dependency injection, allowing type-safe service registration and retrieval without strings.
Usage: