angular-ru-sdk
angular-ru-sdk copied to clipboard
🐞 - `@angular-ru/ngxs` is not compatible with `@ngxs/store` `v18`
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()
╵ ~~~~~~~~~~~~~~~~~