Skip to content

Commit

Permalink
Added both signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
helios-ag committed Nov 18, 2024
1 parent fe591e4 commit 5f42fa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/runtime/src/interfaces/iocModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export type ServiceIdentifier<T = unknown> =
| Function;

export interface IocContainer {
get<T>(controller: ServiceIdentifier<T>): T;
get<T>(controller: ServiceIdentifier<T>): Promise<T>;
}

Expand Down

0 comments on commit 5f42fa6

Please sign in to comment.