Skip to content
This repository has been archived by the owner on Dec 26, 2017. It is now read-only.

Commit

Permalink
fix(subscription): Updated type for effects subscription (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
atscott authored and brandonroberts committed Mar 14, 2017
1 parent 5afd01a commit 7aa2e00
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/effects-subscription.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
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');

@Injectable()
export class EffectsSubscription extends Subscription implements OnDestroy {
constructor(
@Inject(Store) private store: Observer<Actions>,
@Inject(Store) private store: Observer<Action>,
@Optional() @SkipSelf() public parent: EffectsSubscription,
@Optional() @Inject(effects) effectInstances?: any[]
) {
Expand Down

0 comments on commit 7aa2e00

Please sign in to comment.