Skip to content

Commit faef5e9

Browse files
refactor: improve module typings
1 parent 138577e commit faef5e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/injector/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ export class Module {
554554
return this._injectables.has(token);
555555
}
556556

557-
public getProviderByKey<T = any>(name: InjectionToken): InstanceWrapper<T> {
557+
public getProviderByKey<T = any>(name: InjectionToken<T>): InstanceWrapper<T> {
558558
return this._providers.get(name) as InstanceWrapper<T>;
559559
}
560560

0 commit comments

Comments
 (0)