In some cases Typescript compiler fails in reducers because it throws the next error:
TS4076: Parameter 'state' of exported function has or is using name 'Success' from external module ".../node_modules/ngx-remotedata/lib/remote-data" but cannot be named.
The error is gone when the state interfaces are exported because Typescript can resolve all type names.
In some cases Typescript compiler fails in reducers because it throws the next error:
The error is gone when the state interfaces are exported because Typescript can resolve all type names.