We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 138577e commit faef5e9Copy full SHA for faef5e9
packages/core/injector/module.ts
@@ -554,7 +554,7 @@ export class Module {
554
return this._injectables.has(token);
555
}
556
557
- public getProviderByKey<T = any>(name: InjectionToken): InstanceWrapper<T> {
+ public getProviderByKey<T = any>(name: InjectionToken<T>): InstanceWrapper<T> {
558
return this._providers.get(name) as InstanceWrapper<T>;
559
560
0 commit comments