diff --git a/src/effects-subscription.ts b/src/effects-subscription.ts index f5f0b6e..ffb1700 100644 --- a/src/effects-subscription.ts +++ b/src/effects-subscription.ts @@ -1,10 +1,9 @@ import { OpaqueToken, Inject, SkipSelf, Optional, Injectable, OnDestroy } from '@angular/core'; -import { Store } from '@ngrx/store'; +import { Action, Store } from '@ngrx/store'; import { Observer } from 'rxjs/Observer'; import { Subscription } from 'rxjs/Subscription'; import { merge } from 'rxjs/observable/merge'; import { mergeEffects } from './effects'; -import { Actions } from './actions'; export const effects = new OpaqueToken('ngrx/effects: Effects'); @@ -12,7 +11,7 @@ export const effects = new OpaqueToken('ngrx/effects: Effects'); @Injectable() export class EffectsSubscription extends Subscription implements OnDestroy { constructor( - @Inject(Store) private store: Observer, + @Inject(Store) private store: Observer, @Optional() @SkipSelf() public parent: EffectsSubscription, @Optional() @Inject(effects) effectInstances?: any[] ) {