Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: Dependency Container Type Error (TS2322) in InversifyJS #1754

Open
2 of 4 tasks
pnkp opened this issue Mar 11, 2025 · 1 comment
Open
2 of 4 tasks

Issue: Dependency Container Type Error (TS2322) in InversifyJS #1754

pnkp opened this issue Mar 11, 2025 · 1 comment

Comments

@pnkp
Copy link

pnkp commented Mar 11, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

The npm package uses a InverisfyJS@7.0.1 as peer dependency.
The problem occurs when I'm trying to pass container as a parameter to this package.

The environment:

  • type: module (ECMA Modules),
  • ts: 5.7 - module: "nodenext", moduleResolution: "nodenext",
  • node: 22.x,

Image

Steps to reproduce

No response

Expected behavior

I will not have a type error. I will be able to pass a container as a parameter

Possible solution

No response

Package version

7.0.1

Node.js version

22.11.0

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Stack trace

No response

Other

No response

@notaphplover
Copy link
Member

Issues need a reproduction in order to be investigated. Please provide a minimum reproduction repo to have it a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants