Skip to content

Commit

Permalink
fix(di): use factory arguments of type any added
Browse files Browse the repository at this point in the history
  • Loading branch information
Stradivario committed Apr 3, 2024
1 parent 4c15f42 commit a6fc58e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/di/src/module/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const Module = <T>(
export type WithProviders<T = unknown> = ObjectUnion<T> & {
provide: T | (string & InjectionToken<unknown>);
deps?: (T | (string & InjectionToken<unknown>))[];
useFactory: (...args: T[]) => any;
useFactory: (...args: any[]) => any;
provideAtEnd?: boolean;
};

Expand Down

0 comments on commit a6fc58e

Please sign in to comment.