Skip to content

Commit

Permalink
feat: Permit instance key of any type
Browse files Browse the repository at this point in the history
  • Loading branch information
Iku-turso committed Mar 10, 2022
1 parent be599eb commit 0a68f24
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/injectable/ogre-tools-injectable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,7 @@ declare module '@ogre-tools/injectable' {
}

export interface ILifecycle<InstantiationParam> {
getInstanceKey: (
di: DiContainer,
params: InstantiationParam,
) => string | number | symbol | object | bigint;
getInstanceKey: (di: DiContainer, params: InstantiationParam) => any;
}

const storedInstanceKey: unique symbol;
Expand Down

0 comments on commit 0a68f24

Please sign in to comment.