Skip to main content

InjectionToken<T>

type InjectionToken\<T\> = ServiceClass\<T\> | symbol;

Defined in: src/lib/di/index.ts:56

Token for identifying services in the container. Can be a class constructor or a symbol for interface tokens.

Type Parameters

Type ParameterDefault type
Tunknown