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

Bump TypeScript 5 and Inversify 6 #357

Merged

Conversation

kaisalmen
Copy link
Contributor

@kaisalmen kaisalmen commented May 17, 2023

When upgrading to TypeSript 5 and using @inject in a constructor the following error is raised:

Argument of type 'undefined' is not assignable to parameter of type 'string'

Upgrading to inversify 6 resolves the issue.

See this comment: microsoft/TypeScript#52435 (comment) and the following.

Related: eclipse-theia/theia#12425

Inversify is now a peerDependency addressing: #296

@kaisalmen kaisalmen force-pushed the kaisalmen/ts5-inversify6 branch 2 times, most recently from 6fe4f94 to add255e Compare May 17, 2023 11:27
Declare inversify as peerDependency
Copy link
Contributor

@spoenemann spoenemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@spoenemann spoenemann merged commit 04037bf into eclipse-sprotty:master May 17, 2023
@spoenemann spoenemann added this to the v0.14.0 milestone May 17, 2023
@kaisalmen kaisalmen deleted the kaisalmen/ts5-inversify6 branch May 17, 2023 12:14
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

Successfully merging this pull request may close these issues.

2 participants