ClassProvider<T extends Object>.forToken constructor
const
ClassProvider<T extends Object>.forToken (
- OpaqueToken<
T> token, { - Type useClass,
Implementation
const factory ClassProvider.forToken(
OpaqueToken<T> token, {
Type useClass,
}) = ClassProvider<T>._;