Getting this error when I create state file and add this following code ```import { Injectable } from '@angular/core'; import { State } from '@ngxs/store'; @State({ name: 'animals', defaults: [] }) @Injectable() export class AnimalsState {} ``` Error: Unable to resolve signature of class decorator when called as an expression. The runtime will invoke the decorator with 2 arguments, but the decorator expects 1. Need your help here :)
above code looks correct error might be because of some change in other part of application. I have given my code link in description you can verify with that
Nice explanation store
Really awesome
Sir kindly make a detailed Course on AWS 🔥❤
Getting this error when I create state file and add this following code
```import { Injectable } from '@angular/core';
import { State } from '@ngxs/store';
@State({
name: 'animals',
defaults: []
})
@Injectable()
export class AnimalsState {}
```
Error:
Unable to resolve signature of class decorator when called as an expression.
The runtime will invoke the decorator with 2 arguments, but the decorator expects 1.
Need your help here :)
above code looks correct error might be because of some change in other part of application. I have given my code link in description you can verify with that
Great videos👍
First comment 🔥
🔥🔥🔥