angular-ru-sdk icon indicating copy to clipboard operation
angular-ru-sdk copied to clipboard

🐞 - `@angular-ru/ngxs` is not compatible with `@ngxs/store` `v18`

Open hakimio opened this issue 8 months ago • 5 comments

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

ngxs

Is this a regression?

No

Description

Try to use @angular-ru/ngxs with the newly released @ngxs/store v18. Angular app compilation fails with the following errors:

X [ERROR] TS1238: Unable to resolve signature of class decorator when called as an expression.
  Type 'typeof CountryRepository' has no properties in common with type 'DataStateClass<any, any>'. [plugin angular-compiler]

    src/app/pages/countries/+state/country.repository.ts:8:1:
      8 │ @StateRepository()
        ╵  ~~~~~~~~~~~~~~~~~

hakimio avatar Jun 11 '24 06:06 hakimio