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

🐞 - @StateRepository decorator error when used with @ngxs/store v18.1.3 #1526

Closed
hakimio opened this issue Oct 22, 2024 · 3 comments
Closed
Labels

Comments

@hakimio
Copy link
Contributor

hakimio commented Oct 22, 2024

Which @angular-ru/* package(s) are the source of the bug?

ngxs

Is this a regression?

Yes

Description

After upgrading @ngxs/store from 18.1.1 to 18.1.3, TS reports error:

TS1238: Unable to resolve signature of class decorator when called as an expression.
Type 'typeof FooRepository' has no properties in common with type 'DataStateClass'.

image

@hakimio hakimio added the bug label Oct 22, 2024
@splincode
Copy link
Member

Could you fix it?

@hakimio
Copy link
Contributor Author

hakimio commented Oct 22, 2024

Ok, I'll try.

@hakimio
Copy link
Contributor Author

hakimio commented Oct 22, 2024

This time it's not only type changes but also some bigger changes like the following:

It will take some time to fix this.

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

No branches or pull requests

2 participants