Skip to content

Commit 5f42fa6

Browse files
committed
Added both signatures
1 parent fe591e4 commit 5f42fa6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/runtime/src/interfaces/iocModule.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export type ServiceIdentifier<T = unknown> =
1212
| Function;
1313

1414
export interface IocContainer {
15+
get<T>(controller: ServiceIdentifier<T>): T;
1516
get<T>(controller: ServiceIdentifier<T>): Promise<T>;
1617
}
1718

0 commit comments

Comments
 (0)