Am using NWRL NX and one of the libraries is using NXGS (3.6.2) as a shared state library for the apps.
When running an application I am getting the warning export 'StateContext' was not found in '@ngxs/store and referencing the actions type of StateContext e.g. example function below:
@Action(FundListActions.Fetch)
fetch({ setState, getState, dispatch}: StateContext < StateModel > ) {
const state = getState();
setState({
...state,
loaded: false,
loading: true,
error: null,
});
}
The NXGS is running as expected, but am wondering how to fix this warning message