Skip to content

Commit

Permalink
fix(core): fix provider with right args
Browse files Browse the repository at this point in the history
  • Loading branch information
notaphplover committed Jan 11, 2025
1 parent e163d0d commit bbddebc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/selfish-knives-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@inversifyjs/core": minor
---

Updated `Provider` with right args.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type Provider<TActivated, in TArgs extends unknown[] = any[]> = (
...args: TArgs[]
...args: TArgs
) => Promise<TActivated>;

0 comments on commit bbddebc

Please sign in to comment.