Store: 馃悶[BUG]: Angular 9 API constructor issue on state files

Created on 18 Feb 2020  路  2Comments  路  Source: ngxs/store

Angular version - 9



angular_version
I have used angular version 9 and updated core file on my latest project/....

Node Version -12.15.0

State File

state

When add constructor on state file for API services but i have get the issue. you can see below screenshot for easy to understand

bug

Please help me, how to resolve this problem.

Most helpful comment

https://www.ngxs.io/advanced/ivy-migration-guide

@Injectable()
export class StudentState {
 // ..
}

All 2 comments

https://www.ngxs.io/advanced/ivy-migration-guide

@Injectable()
export class StudentState {
 // ..
}

Thanks. It's working

Was this page helpful?
0 / 5 - 0 ratings